# CVE-2022-1451: Out-of-bounds Read in r_bin_java_constant_value_attr_new function in radareorg/radare2

- Severity: High 7.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-24T20:50:16.000Z
- Modified: 2026-06-17T04:22:28.630Z
- Weaknesses: CWE-125, CWE-788
- Assigned by: @huntrdev

## 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).

(As written by CVE List.)

## Affected

- radareorg radareorg/radare2: from unspecified before 5.7.0
- radare radare2: before 5.7.0

## Every score

- @huntrdev: CVSS:3.0 7.1 High `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:P`

## References

- <https://huntr.dev/bounties/229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7> (exploit, issue-tracking, patch, third-party-advisory)
- <https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-1451](https://www.cve.org/CVERecord?id=CVE-2022-1451), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-1451](https://nvd.nist.gov/vuln/detail/CVE-2022-1451), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1451 · Whole record: https://cve.day/CVE-2022-1451.json · Rebuilt by cve.day 2026-11-25T22:58:11.218Z
