Heap Buffer Overflow in mach0.c in radare2 (GitHub repository radareorg/radare2) prior to version 5.8.6

Heap Buffer Overflow in mach0.c in radare2 (GitHub repository radareorg/radare2) prior to version 5.8.6

CVE-2022-1240 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

Learn more about our Web Application Penetration Testing UK.