CVE-2025-5644: Radare2 radiff2 cons.c r_cons_flush use after free
A vulnerability, which was classified as problematic, has been found in Radare2 5.9.9. Affected by this issue is the function rconsflush in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to use after free. Local access is required to approach this attack. 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 name 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". A new warning has been added.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5644?
CVE-2025-5644 is classified as problematic due to its potential to cause a use after free vulnerability.
How do I fix CVE-2025-5644?
To fix CVE-2025-5644, you should update Radare2 to the latest version that addresses this issue.
What components are affected by CVE-2025-5644?
CVE-2025-5644 affects the r_cons_flush function in the libr/cons/cons.c library of the Radare2 component radiff2.
What kind of access is required to exploit CVE-2025-5644?
CVE-2025-5644 requires local access to exploit the vulnerability.
Is CVE-2025-5644 a critical vulnerability?
CVE-2025-5644 is not classified as critical, but it is still considered problematic and should not be ignored.