CVE-2025-5644 Details
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.
A use-after-free vulnerability has been identified in Radare2 version 5.9.9, specifically within the radiff2 component. The issue arises in the r_cons_flush function, located in the /libr/cons/cons.c library. This vulnerability is triggered by manipulating the experimental '-T' argument, leading to memory being accessed after it has been freed. The vulnerability requires local access to exploit and has been publicly disclosed, with an exploit available. However, the existence of this vulnerability is currently disputed.
Users are advised to update to the latest version of Radare2, where this vulnerability has been patched. The patch is available on the official Radare2 GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://drive.google.com/file/d/1VtiMMp7ECun3sq3AwlqQrU9xEPA45eOz/view?usp=sharing | [email protected] | Exploit |
| https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 | [email protected] | Patch |
| https://github.com/radareorg/radare2/issues/24233 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/radareorg/radare2/issues/24233#issuecomment-2918847833 | [email protected] | Issue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.311132 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311132 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.586921 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| radare radare2 | 5.9.9 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2025 | Initial Analysis | [email protected] |
| Jun 5, 2025 | New CVE Received | [email protected] |