What’s Vulnerable › Vulnerabilities
CVE-2022-1451: Out-of-bounds Read in r_bin_java_constant_value_attr_new function in radareorg/radare2
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-24 · updated 2026-06-17
- Weakness: CWE-788
Description
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).
Affected products
- radareorg/radare2: before 5.7.0 — fixed in 5.7.0
How to fix
Upgrade to a fixed version: radareorg/radare2 5.7.0. Check the vendor advisory for mitigations.
References
- https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529
- https://huntr.dev/bounties/229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7
- https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529
- https://huntr.dev/bounties/229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7
Get alerted when CVE-2022-1451 or the next vulnerability affects your stack