Low severity · published Jun 5, 2025
CVE-2025-5642
Radare2 radiff2 pal.c r_cons_pal_init memory corruption
2.5
CVSS
0.2%
EPSS
No
On KEV
Description
A vulnerability classified as problematic has been found in Radare2 5.9.9. Affected is the function r_cons_pal_init in the library /libr/cons/pal.c of the component radiff2. The manipulation leads to memory corruption. The attack needs to be approached locally. 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 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 14% 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-5642
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5642
Exploit
https://drive.google.com/file/d/1joXpofhKSeb3uJ034ayVuWIoJj08gm_9/view?usp=sharing
Patch
https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798
Exploit
https://github.com/radareorg/radare2/issues/24231
Issue Tracking
https://github.com/radareorg/radare2/issues/24231#issuecomment-2918848163
Permissions Required
https://vuldb.com/?ctiid.311130
Third Party Advisory
https://vuldb.com/?id.311130
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-5646
Radare2 radiff2 pal.c r_cons_rainbow_free memory corruption
2.5
CVE-2025-5645
Radare2 radiff2 pal.c r_cons_pal_init memory corruption
