CVE-2025-5641
Radare2 radiff2 cons.c r_cons_is_breaked memory corruption
- State
- Published
- Severity
- 2.0 Low
- Published
- Jun 5, 2025
- Updated
- Jun 5, 2025
- Reserved
- Jun 4, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.0 Low | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | VulDB |
| 3.1 | 2.5 Low | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 3.0 | 2.5 Low | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L | VulDB |
| 2.0 | 1.0 Low | AV:L/AC:H/Au:S/C:N/I:N/A:P | VulDB |
Weaknesses
- CWE-119 Memory Corruption
Affected Products
| Product | Versions |
|---|---|
Radare2n/a |
|
References
- VDB-311129 | Radare2 radiff2 cons.c r_cons_is_breaked memory corruptionvdb-entrytechnical-description
- VDB-311129 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #586909 | radare2 radiff2 5.9.9 and master branch Memory corruptionthird-party-advisory
- https://github.com/radareorg/radare2/issues/24230issue-tracking
- https://github.com/radareorg/radare2/issues/24230#issuecomment-2919612676issue-tracking
- https://drive.google.com/file/d/1oG5IC7qhL_SJsIHpnWp7MZlWJGYt8qWZ/view?usp=sharingexploit
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798patch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.