{"id":"CVE-2022-1451","summary":"Out-of-bounds Read  in r_bin_java_constant_value_attr_new function in radareorg/radare2","details":"Out-of-bounds Read in r_bin_java_constant_value_attr_new function in GitHub repository radareorg/radare2 prior to 5.7.0. The bug causes the program reads data past the end 2f the intented buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. More details see [CWE-125: Out-of-bounds read](https://cwe.mitre.org/data/definitions/125.html).","modified":"2026-08-12T12:59:23.662664Z","published":"2022-04-24T20:50:16Z","related":["openSUSE-SU-2024:12173-1"],"database_specific":{"cna_assigner":"@huntrdev","cwe_ids":["CWE-788"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1451.json"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1451.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1451"},{"type":"FIX","url":"https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/radareorg/radare2","events":[{"introduced":"0"},{"fixed":"09569c1d5c324df7f23bdc9ad864ac1c25925745"},{"fixed":"0927ed3ae99444e7b47b84e43118deb10fe37529"}],"database_specific":{"cpe":"cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"5.7.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["wip","5.6.8","5.6.6","5.6.4","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/cve-osv-conversion/osv-output/CVE-2022-1451.json","vanir_signatures_modified":"2026-08-12T12:59:23Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529","target":{"file":"shlr/java/class.c","function":"r_bin_java_rti_annotations_attr_new"},"deprecated":false,"digest":{"function_hash":"83135852773837464370240323020280722727","length":799},"id":"CVE-2022-1451-002719ad","signature_type":"Function"},{"deprecated":false,"digest":{"line_hashes":["218685543957962052070049924867672829508","210472090145512153903721041297851784129","132288880359672910406495932103045192811","153837978330176313168978097717232747094","191520730934219326640061400282235857666","210953022466983157395991799044413110692","297569647141745663179893496683406607678","107536947849139318559390649641177382760","314857514267724434350537270844050783919","252475142254251746704021363623356408506","184875105718884878287964471239596913840","158763526320253521871027685302194368691","320766327725029409574068428224723664432","141168100290945542506169999122624353808","287373022156182613960562927784022573588","185917034958032194099311328738694658570","240129672560612593575399019641820301194"],"threshold":0.9},"id":"CVE-2022-1451-11075b45","signature_type":"Line","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529","target":{"file":"shlr/java/class.c"}},{"deprecated":false,"digest":{"function_hash":"285790713756877203194851574983005613253","length":424},"id":"CVE-2022-1451-1702f63a","signature_type":"Function","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529","target":{"file":"shlr/java/class.c","function":"r_bin_java_get_attr_buf"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529","target":{"file":"shlr/java/class.c","function":"r_bin_java_constant_value_attr_new"},"deprecated":false,"digest":{"function_hash":"152368636975967117110757878931686920793","length":353},"id":"CVE-2022-1451-5617bcd7"}]}}],"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:N/A:H"}]}