CVE-2025-5641 Details
Description
A vulnerability was found in Radare2 5.9.9. It has been rated as problematic. This issue affects the function r_cons_is_breaked in the library /libr/cons/cons.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 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 identifier 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". An additional warning regarding threading support 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_is_breaked, located in the file /libr/cons/cons.c. The vulnerability is triggered by manipulating the experimental -T argument, leading to invalid memory access and a segmentation fault. This vulnerability can be exploited locally, but the exploitation process is complex and challenging.
Users are advised to update to the latest version of Radare2, where this vulnerability has been addressed. The official Radare2 GitHub repository contains the latest releases.
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/1oG5IC7qhL_SJsIHpnWp7MZlWJGYt8qWZ/view?usp=sharing | [email protected] | Exploit |
| https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 | [email protected] | Patch |
| https://github.com/radareorg/radare2/issues/24230 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/radareorg/radare2/issues/24230#issuecomment-2919612676 | [email protected] | Issue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.311129 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311129 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.586909 | [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] |