CVE-2025-5647: Radare2 radiff2 cons.c r_cons_context_break_pop memory corruption
A vulnerability was found in Radare2 5.9.9 and classified as problematic. This issue affects the function rconscontextbreakpop in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. The attack needs to be approached locally. 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 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-5647?
CVE-2025-5647 is classified as problematic due to its potential to cause memory corruption.
How do I fix CVE-2025-5647?
To fix CVE-2025-5647, it is recommended to update to the latest version of Radare2 that addresses this vulnerability.
What component of Radare2 is affected by CVE-2025-5647?
CVE-2025-5647 affects the radiff2 component in the function r_cons_context_break_pop.
What kind of attack can be executed using CVE-2025-5647?
An attacker can exploit CVE-2025-5647 by manipulating the argument -T to cause memory corruption.
Who is affected by CVE-2025-5647?
Users of Radare2 version 5.9.9 are affected by CVE-2025-5647.