CVE-2022-1240

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

Published Apr 6, 2022 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-24575 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).
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntrdev
Published
Updated
Aug 2, 2024, 11:55 PM
Reserved
Apr 5, 2022, 12:00 AM
Status
Modified
Published
Apr 6, 2022, 11:15 AM
Modified
Jun 17, 2026, 4:22 AM