CVE-2022-1240
mediumpriority · track · 31EPSS 0.007 · 54 %ileEUUSEPSS · scored 2026-10-27
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–7.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-1240/cnnvd
- https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4cnnvd
- https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281facccnnvd
- https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4enisa_euvd
- https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281faccenisa_euvd
- https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4PatchThird Party Advisorynvd
- https://huntr.dev/bounties/e589bd97-4c74-4e79-93b5-0951a281faccExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan