CVE-2022-1240
Last modified
CVE-2022-1240 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Radare | Radare2 | <= 5.6.6 |
References
- https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4Patch, Third Party Advisory
- https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281faccExploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4Patch, Third Party Advisory
- https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281faccExploit, Issue Tracking, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-1240?
How severe is CVE-2022-1240?
How do I fix CVE-2022-1240?
Are you affected by CVE-2022-1240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
