CVE-2025-5644 Radare2 radiff2 cons.c r_cons_flush use after free
A use-after-free vulnerability in Radare2's radiff2 component can cause a crash when using the experimental -T flag, requiring local access and high complexity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-5644?
CVE-2025-5644 is a low-severity use after free vulnerability in Radare Radare2, published on 5 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability, which was classified as problematic, has been found in Radare2 5.9.9. Affected by this issue is the function r_cons_flush 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.
Which versions are affected by CVE-2025-5644?
It affects 1 product.
Products include Radare Radare2.
How do I fix CVE-2025-5644?
No fix has been published for CVE-2025-5644 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-5644 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5644 exists.
Other vulnerabilities in Radare Radare2
Sources
Also known as GHSA-mmq4-59cg-p659, UBUNTU-CVE-2025-5644.