← Database

CVE-2022-1240

HIGH CVSS: 7.8 Published: 2022-04-06 Modified: 2026-06-17

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

Affected Platforms

Radare Radare2

Weakness Type

CWE-122, CWE-787

References