CVE-2025-5643Radare2 radiff2 cons.c cons_stack_load memory corruption
A vulnerability classified as problematic was found in Radare2 5.9.9. Affected by this vulnerability is the function cons_stack_load in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. An attack has to be approached locally. 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 named 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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | radare2 | Fix pending | UBUNTU-CVE-2025-5643 | |
| Ubuntu 26.04 | radare2 | Under investigation | UBUNTU-CVE-2025-5643 | |
| Ubuntu 25.10 | radare2 | Will not fix there is no real fix for this. commit 5705d99cc1f23f36f9a84aab26d1724010b97798 is adding a warning log about the risk of using '-T' | UBUNTU-CVE-2025-5643 | |
| Ubuntu 24.04 | radare2 | Fix pending | UBUNTU-CVE-2025-5643 | |
| Ubuntu 20.04 | radare2 | Fix pending | UBUNTU-CVE-2025-5643 | |
| Ubuntu 18.04 | radare2 | Fix pending | UBUNTU-CVE-2025-5643 | |
| Ubuntu 16.04 | radare2 | Fix pending | UBUNTU-CVE-2025-5643 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Radare2: affected: 5.9.9
Vendor advisories:
References
- https://vuldb.com/?id.311131
- https://vuldb.com/?ctiid.311131
- https://vuldb.com/?submit.586912
- https://github.com/radareorg/radare2/issues/24232
- https://github.com/radareorg/radare2/issues/24232#issuecomment-2918841776
- https://drive.google.com/file/d/1XsoyD7lMC-9a9Cxhld8sdEE-0PF3lxvB/view?usp=sharing
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.