Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.8
CVE-2025-5644: radare2 r_cons_flush function may crash
CVE-2025-5644 · published 1 year ago
Summary
The r_cons_flush routine in radare2 version 5.9.9 can mishandle the -T option, causing the program to use memory that has already been released. This could lead to a crash or unexpected behavior for anyone running the tool locally. Update radare2 with the provided patch to prevent the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | radare | radare2 |
5.9.9 cpe:2.3:a:radare:radare2:5.9.9:*:*:*:*:*:*:* |
| Ubuntu:16.04:LTS | canonical | radare2 | All versions |
Original advisory text
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 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.
References
- https://vuldb.com/?id.311132 Vendor Advisory
- https://vuldb.com/?submit.586921 Vendor Advisory
- https://github.com/radareorg/radare2/issues/24233 Third Party Advisory
- https://github.com/radareorg/radare2/issues/24233#issuecomment-2918847833 Third Party Advisory
- https://vuldb.com/?ctiid.311132 Third Party Advisory
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b9... Patch
- https://drive.google.com/file/d/1VtiMMp7ECun3sq3AwlqQrU9xEPA45eOz/view?usp=shari... Exploit
- https://ubuntu.com/security/CVE-2025-5644 Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2025-5644 Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5644.j... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-5644 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-119Buffer Overflow
CWE-416Use After Free
Timeline
Published5 Jun 2025
Updated1 Nov 2026
First seen7 Mar 2026
Track software like this
Free during beta