Buffer overflow in Radare Radare2
CVE-2022-1240
Heap buffer overflow in libr/bin/format/mach0/mach0.c in GitHub repository radareorg/radare2 prior to 5.8.6. If address sanitizer is disabled during the compiling, the program should executes into the `r_str_ncpy` function. Therefore I think it is very likely to be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/122.html).
Vulnerability class: Buffer Overflow
EPSS: 0.007 (50.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Radare Radare2
- Radareorg Radareorg/radare2 — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (x_refsource_CONFIRM, Exploit, Patch, Third Party Advisory, Issue Tracking)
- security@huntr.dev (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-1240?
- CVE-2022-1240 is a high-severity vulnerability in Radare Radare2, classified under Heap-based Buffer Overflow. CVSS score: 7.8/10. Published 2022-04-06.
- How severe is CVE-2022-1240?
- High severity. CVSS v3 base score is 7.8 out of 10.