Buffer overflow in Radare Radare2
CVE-2025-5645
A vulnerability, which was classified as problematic, was found in Radare2 5.9.9. This affects the function r_cons_pal_init in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. Attacking locally is a requirement. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The identifier of the patch is 5705d99cc1f23f36f9a84aab26d1724010b97798. It is recommended to apply a patch to fix this issue. The documentation explains that the parameter -T is experimental and "crashy". Further analysis has shown "the race is not a real problem unless you use asan". A new warning has been added.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.002, 14.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Radare Radare2 — versions 5.9.9
- Radare2 — versions 5.9.9
Weakness classification (CWE)
References
- VDB-311133 | Radare2 radiff2 pal.c r_cons_pal_init memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-311133 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #586922 | radare2 radiff2 5.9.9 and master branch Memory corruption (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/radareorg/radare2/issues/24234 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- github.com/radareorg/radare2/issues/24234 (issue-tracking, Issue Tracking, Vendor Advisory)
- drive.google.com/file/d/1LVaraZB30lJXtrvp-4bcEJrZYFJb2bfc/view (Exploit, exploit)
- github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 (Patch, patch)