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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 7.6 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H | @huntrdev |
Weaknesses
- CWE-122 Heap-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
radareorg/radare2radareorg |
|
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.