Low severity · published Jun 5, 2025
CVE-2025-5646
Radare2 radiff2 pal.c r_cons_rainbow_free memory corruption
2.5
CVSS
0.2%
EPSS
No
On KEV
Description
A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears 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 patch is identified as 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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 13% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Radare2 ·
5.9.9 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5646
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5646
Exploit
https://drive.google.com/file/d/1PYNtV7Kx2OEgM9Cemb5FBlMJH_J1wux0/view?usp=sharing
Patch
https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798
Exploit
https://github.com/radareorg/radare2/issues/24235
Issue Tracking
https://github.com/radareorg/radare2/issues/24235#issuecomment-2918847213
Permissions Required
https://vuldb.com/?ctiid.311134
Third Party Advisory
https://vuldb.com/?id.311134
More from Radare2
3.3
CVE-2026-4174
Radare2 Mach-O File mach0.c walk_exports_trie resource consumption
2.5
CVE-2025-5648
Radare2 radiff2 pal.c r_cons_pal_init memory corruption
2.5
CVE-2025-5647
Radare2 radiff2 cons.c r_cons_context_break_pop memory corruption
2.5
CVE-2025-5645
Radare2 radiff2 pal.c r_cons_pal_init memory corruption
2.5
CVE-2025-5644
Radare2 radiff2 cons.c r_cons_flush use after free
