VULNERABILITY INTELLIGENCE
CVE-2022-1240
CVSS score7.8 HIGH
EPSS probability0.74%
CISA KEVNot currently listed
Published2022-04-06
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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).
Weakness classification
- security@huntr.dev: CWE-122
- nvd@nist.gov: CWE-787
Primary references
- security@huntr.dev — Patch, Third Party Advisory
- security@huntr.dev — Exploit, Issue Tracking, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Patch, Third Party Advisory