CVE-2022-1240

Heap buffer overflow in libr/bin/format/mach0/mach0.c in radareorg/radare2

State
Published
Severity
7.6 High
Published
Apr 6, 2022
Updated
Aug 2, 2024
Reserved
Apr 5, 2022

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.07.6 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H@huntrdev

Weaknesses

Affected Products

ProductVersions
radareorg/radare2radareorg
  • before 5.8.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.