{"id":"CVE-2022-0676","summary":"Heap-based Buffer Overflow in radareorg/radare2","details":"Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.4.","modified":"2026-08-18T15:13:06.547645Z","published":"2022-02-22T00:05:10Z","related":["openSUSE-SU-2024:12173-1"],"database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0676.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/5ad814a1-5dd3-43f4-869b-33b8dab78485"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0676.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BZTIMAS53YT66FUS4QHQAFRJOBMUFG6D/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E6YBRQ3UCFWJVSOYIKPVUDASZ544TFND/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0676"},{"type":"FIX","url":"https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/radareorg/radare2","events":[{"introduced":"0"},{"fixed":"69587d462d246c98f5011b436aac710d5f9867d1"},{"fixed":"c84b7232626badd075caf3ae29661b609164bac6"}],"database_specific":{"cpe":"cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.6.4"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["5.6.2","5.6.0","5.5.4","5.5.2","5.5.0","5.4.2","5.4.0","5.4.0-git","5.3.1","5.3.0","5.2.1","5.2.0","5.1.1","5.1.0","release-5.0.0","5.0.0","4.5.1","4.4.0","4.3.1","Continuous-Windows","4.3.0","continuous","4.2.1","4.2.0","4.1.1","4.1.0","4.0.0","3.9.0","3.8.0","3.7.1","3.7.0","3.6.0","3.5.1","3.5.0","3.4.1","3.4.0","3.3.0","3.2.1","3.2.0","3.1.3","3.1.2","3.1.1","3.1.0","3.0.1","3.0.0","2.9.0","2.8.0","2.7.0","2.6.9","2.6.0","2.5.0","2.4.0","2.2.0","2.1.0","2.0.1","2.0.0","1.6.0","1.5.0","1.4.0","1.3.0","1.3.0-git","1.2.0","1.2.0-git","1.1.0","1.0.2","1.0.1","1.0.0","1.0","0.10.6","0.10.5","0.10.4-termux4","termux","0.10.4","0.10.3","0.10.2","0.10.1","0.10.0","radare2-windows-nightly","0.9.9","0.9.8","0.9.8-rc4","0.9.8-rc3","0.9.8-rc2","0.9.8-rc1","0.9.7","0.9.6","0.9.4","0.9.2","0.9","0.8.8","0.8.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-0676.json","vanir_signatures_modified":"2026-08-18T15:13:06Z","vanir_signatures":[{"id":"CVE-2022-0676-7bdb5e85","signature_type":"Function","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6","target":{"file":"libr/bin/p/bin_dyldcache.c","function":"load_buffer"},"deprecated":false,"digest":{"function_hash":"299706964489912354881236968927956941476","length":941}},{"signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6","target":{"function":"create_cache_bins","file":"libr/bin/p/bin_dyldcache.c"},"deprecated":false,"digest":{"function_hash":"315457301639754550762431575659948003668","length":3508},"id":"CVE-2022-0676-8add1216","signature_type":"Function"},{"deprecated":false,"digest":{"function_hash":"36096430081077126341169578272834686252","length":817},"id":"CVE-2022-0676-bfbe2f33","signature_type":"Function","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6","target":{"file":"libr/bin/p/bin_dyldcache.c","function":"read_cache_accel"}},{"id":"CVE-2022-0676-dbababc5","signature_type":"Line","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/c84b7232626badd075caf3ae29661b609164bac6","target":{"file":"libr/bin/p/bin_dyldcache.c"},"deprecated":false,"digest":{"line_hashes":["23199017671580680902201083778249574210","306856538569580605878215644579277536000","190967057602530296582858999613937058971","280146247380445190841201433792981391418","240932389732885423862460875194115097725","140780912719625895757394479166688773313","243644461274486181072296004263922649323","158048665587635201938849767187472070752","277626197437627577061068546542574035235","136154454436874478950233995454219655768","215518541788287972251612667310844717673","292296363375781182565750446480627434471","15141687554548655925646652921357801120","149254509648918075502676936491123855855","124943200428514757914050311129412486563","263782245906525260577087265545251738762","234285395805901954516181059530364893616","249249287661261203297434333330342748588","53837440814564585019711157326142440648","201012052406582040983378075215221921877","301218477523009611700695386241838187203"],"threshold":0.9}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}