CVE-2025-5643: Radare2 radiff2 cons.c cons_stack_load memory corruption
A vulnerability classified as problematic was found in Radare2 5.9.9. Affected by this vulnerability is the function consstackload 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5643?
CVE-2025-5643 is classified as problematic due to its potential for memory corruption.
How do I fix CVE-2025-5643?
To mitigate CVE-2025-5643, ensure you update Radare2 to the latest version that addresses this vulnerability.
What component of Radare2 is affected by CVE-2025-5643?
CVE-2025-5643 affects the radiff2 component, specifically the function cons_stack_load in the file /libr/cons/cons.c.
How can CVE-2025-5643 be exploited?
An attacker can exploit CVE-2025-5643 by manipulating the argument -T to induce memory corruption.
Which version of Radare2 is impacted by CVE-2025-5643?
CVE-2025-5643 impacts Radare2 version 5.9.9.