Out-of-bounds Read in rbinjavaconstantvalueattrnew 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.
{
"cwe_ids": [
"CWE-788"
],
"cna_assigner": "@huntrdev",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1451.json"
}{
"cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "5.7.0"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}"2026-07-22T02:23:09Z"
[
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 799.0,
"function_hash": "83135852773837464370240323020280722727"
},
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529",
"id": "CVE-2022-1451-002719ad",
"target": {
"function": "r_bin_java_rti_annotations_attr_new",
"file": "shlr/java/class.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"218685543957962052070049924867672829508",
"210472090145512153903721041297851784129",
"132288880359672910406495932103045192811",
"153837978330176313168978097717232747094",
"191520730934219326640061400282235857666",
"210953022466983157395991799044413110692",
"297569647141745663179893496683406607678",
"107536947849139318559390649641177382760",
"314857514267724434350537270844050783919",
"252475142254251746704021363623356408506",
"184875105718884878287964471239596913840",
"158763526320253521871027685302194368691",
"320766327725029409574068428224723664432",
"141168100290945542506169999122624353808",
"287373022156182613960562927784022573588",
"185917034958032194099311328738694658570",
"240129672560612593575399019641820301194"
]
},
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529",
"id": "CVE-2022-1451-11075b45",
"target": {
"file": "shlr/java/class.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 424.0,
"function_hash": "285790713756877203194851574983005613253"
},
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529",
"id": "CVE-2022-1451-1702f63a",
"target": {
"function": "r_bin_java_get_attr_buf",
"file": "shlr/java/class.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 353.0,
"function_hash": "152368636975967117110757878931686920793"
},
"signature_version": "v1",
"source": "https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529",
"id": "CVE-2022-1451-5617bcd7",
"target": {
"function": "r_bin_java_constant_value_attr_new",
"file": "shlr/java/class.c"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1451.json"