CVE-2025-5641: Radare2 radiff2 cons.c r_cons_is_breaked memory corruption
A vulnerability was found in Radare2 5.9.9. It has been rated as problematic. This issue affects the function rconsisbreaked in the library /libr/cons/cons.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 is known 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". An additional warning regarding threading support has been added.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5641?
CVE-2025-5641 has been rated as problematic due to the potential for memory corruption.
How do I fix CVE-2025-5641?
To mitigate CVE-2025-5641, update to the latest version of Radare2 that addresses this vulnerability.
What component is affected by CVE-2025-5641?
CVE-2025-5641 affects the function r_cons_is_breaked in the radiff2 component of Radare2.
What could happen if I exploit CVE-2025-5641?
Exploiting CVE-2025-5641 could lead to memory corruption, potentially allowing an attacker to execute arbitrary code.
What argument manipulation causes the issue in CVE-2025-5641?
In CVE-2025-5641, the manipulation of the argument -T leads to the memory corruption vulnerability.