Vulnerability · Published Apr 24, 2022 · Assigned by @huntrdev
CVE-2022-1451Out-of-bounds Read in r_bin_java_constant_value_attr_new function in radareorg/radare2
High 7.1
In plain English
A high-severity security flaw in radareorg/radare2 from radareorg. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | radare2 | 5.7.0-r0 | ALPINE-CVE-2022-1451 |
| Alpine:v3.21 | radare2 | 5.7.0-r0 | ALPINE-CVE-2022-1451 |
| Alpine:v3.22 | radare2 | 5.7.0-r0 | ALPINE-CVE-2022-1451 |
| Alpine:v3.23 | radare2 | 5.7.0-r0 | ALPINE-CVE-2022-1451 |
| Alpine:v3.24 | radare2 | 5.7.0-r0 | ALPINE-CVE-2022-1451 |
| Ubuntu:25.10 | radare2 | no fix listed | UBUNTU-CVE-2022-1451 |
| Ubuntu:26.04:LTS | radare2 | no fix listed | UBUNTU-CVE-2022-1451 |
| Ubuntu:26.10 | radare2 | no fix listed | UBUNTU-CVE-2022-1451 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| radareorg | radareorg/radare2 | unspecified – before 5.7.0 |
Weakness: CWE-788 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
References
- https://huntr.dev/bounties/229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7 x_refsource_CONFIRM
- https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529 x_refsource_MISC