CVE-2025-5641
Radare2 radiff2 cons.c r_cons_is_breaked memory corruption
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Radare2 5.9.9
Vulnerability facts
- Affected
- Radare2 5.9.9
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 2.0 (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
- CWE
- CWE-119
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Radare2 | 5.9.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-5641. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-5641.md Affected: Radare2 5.9.9 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Radare2: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Exploits and PoCs
Articles
FAQ
Is CVE-2025-5641 being exploited?
There is no confirmed exploitation: CVE-2025-5641 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-5641?
Low: CVSS 2.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-5641?
Radare2 5.9.9.
Is there a fix for CVE-2025-5641?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-5641?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.