Low severity · published Jun 5, 2025
CVE-2025-5643
Radare2 radiff2 cons.c cons_stack_load memory corruption
2.5
CVSS
0.2%
EPSS
No
On KEV
Description
A vulnerability classified as problematic was found in Radare2 5.9.9. Affected by this vulnerability is the function cons_stack_load in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. An attack has to be approached locally. 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 named 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-5643
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5643
Exploit
https://drive.google.com/file/d/1XsoyD7lMC-9a9Cxhld8sdEE-0PF3lxvB/view?usp=sharing
Patch
https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798
Exploit
https://github.com/radareorg/radare2/issues/24232
Issue Tracking
https://github.com/radareorg/radare2/issues/24232#issuecomment-2918841776
Permissions Required
https://vuldb.com/?ctiid.311131
Third Party Advisory
https://vuldb.com/?id.311131
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
