CVE-2025-5646 Details
Description
A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation appears 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 identified as 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 memory corruption vulnerability has been identified in Radare2 version 5.9.9, specifically within the radiff2 component. The issue arises in the function r_cons_rainbow_free, located in the library /libr/cons/pal.c. The vulnerability is triggered by manipulating the experimental -T argument, leading to a double-free error. This vulnerability can be exploited locally, and while an exploit is publicly available, the actual existence of the vulnerability is currently disputed.
Users are advised to update to the latest version of Radare2, where this vulnerability has been patched.
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/1PYNtV7Kx2OEgM9Cemb5FBlMJH_J1wux0/view?usp=sharing | [email protected] | Exploit |
| https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 | [email protected] | Patch |
| https://github.com/radareorg/radare2/issues/24235 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/radareorg/radare2/issues/24235#issuecomment-2918847213 | [email protected] | Issue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.311134 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311134 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.586923 | [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] |
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] |