PT-2022-13740 · Radare2+1 · Radare2+1

Han0Nly

·

Published

2022-04-06

·

Updated

2024-06-15

·

CVE-2022-1240

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions radare2 versions prior to 5.8.6
Description A heap buffer overflow issue exists in the libr/bin/format/mach0/mach0.c file of the radare2 GitHub repository. This issue is likely exploitable, especially when the address sanitizer is disabled during compilation, allowing the program to execute into the r str ncpy function.
Recommendations For versions prior to 5.8.6, update to version 5.8.6 or later to resolve the issue. As a temporary workaround, consider enabling the address sanitizer during compilation to minimize the risk of exploitation.

Exploit

Fix

Memory Corruption

Heap Based Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2023-8220
ALT-PU-2024-6421
ALT-PU-2024-6763
CVE-2022-1240
OPENSUSE-SU-2024:12173-1

Affected Products

Alt Linux
Radare2