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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.007 (52.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 52.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Radare Radare2
- Radareorg Radareorg/radare2 — versions unspecified
Weakness classification (CWE)
References
- huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281facc (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4 (Patch, Third Party Advisory)
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.