CVE-2025-5641
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.
EPSS 0.15% · 35.0th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| radare | radare2 | 5.9.9 |
| n/a | Radare2 | 5.9.9 |
Exploit Intelligence
- https://github.com/radareorg/radare2/issues/24230 (nist-nvd)
- CIRCL seen: CVE-2025-5641 (circl-sighting)
- CIRCL seen: CVE-2025-5641 (circl-sighting)
- VDB-311129 | Radare2 radiff2 cons.c r_cons_is_breaked memory corruption (circl)
- VDB-311129 | CTI Indicators (IOB, IOC, IOA) (circl)
- Submit #586909 | radare2 radiff2 5.9.9 and master branch Memory corruption (circl)
- https://github.com/radareorg/radare2/issues/24230#issuecomment-2919612676 (circl)
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 (circl)
- https://drive.google.com/file/d/1oG5IC7qhL_SJsIHpnWp7MZlWJGYt8qWZ/view?usp=sharing (cve.org)
Timeline
- Jun 5, 2025 EPSS Score
- Jun 5, 2025 Coalition ESS Score
- Jun 5, 2025 CVE Published
- Jun 5, 2025 PoC Published
- Jun 5, 2025 PoC Published
- Jun 16, 2025 EPSS Score
- Jun 23, 2025 Coalition ESS Score
- Jun 23, 2025 CVE Updated
- Jun 26, 2025 EPSS Score
- Jul 7, 2025 EPSS Score
- Jul 18, 2025 EPSS Score
- Jul 28, 2025 EPSS Score
References
- VDB-311129 | Radare2 radiff2 cons.c r_cons_is_breaked memory corruption vdb
- VDB-311129 | CTI Indicators (IOB, IOC, IOA) url
- Submit #586909 | radare2 radiff2 5.9.9 and master branch Memory corruption third-party-advisory
- https://github.com/radareorg/radare2/issues/24230 issue
- https://github.com/radareorg/radare2/issues/24230#issuecomment-2919612676 issue
- https://drive.google.com/file/d/1oG5IC7qhL_SJsIHpnWp7MZlWJGYt8qWZ/view?usp=sharing exploit
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 patch
- https://nvd.nist.gov/vuln/detail/CVE-2025-5641 advisory