CVE-2022-1240: Radare RADARE2

High severity, CVSS 7.8. EPSS: 0.7% chance of exploitation in the next 30 days.

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).

Affected products

  • Radare RADARE2: up to and including 5.6.6

Published 2022-04-06. Last modified 2026-06-17.