cvedb.io
CVE-2022-1240
HIGH · CVSS 7.8
EPSS exploitation probability: 0%
Published 2022-04-06T11:15:07.587 · Last modified 2026-06-17T04:22:04.463

Summary

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

Does this affect you?

Add your gear to cvedb and we'll alert you only when radare ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.