Vulnerability · Published Jun 5, 2025 · Assigned by VulDB
CVE-2025-5643Radare2 radiff2 cons.c cons_stack_load memory corruption
Low 2.5
In plain English
A low-severity memory corruption in Radare2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:25.10 | radare2 | no fix listed | UBUNTU-CVE-2025-5643 |
| Ubuntu:26.04:LTS | radare2 | no fix listed | UBUNTU-CVE-2025-5643 |
| Ubuntu:26.10 | radare2 | no fix listed | UBUNTU-CVE-2025-5643 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
References
- VDB-311131 | Radare2 radiff2 cons.c cons_stack_load memory corruption vdb-entry, technical-description
- VDB-311131 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #586912 | radare2 radiff2 5.9.9 and master branch Memory corruption third-party-advisory
- https://github.com/radareorg/radare2/issues/24232 issue-tracking
- https://github.com/radareorg/radare2/issues/24232#issuecomment-2918841776 issue-tracking
- https://drive.google.com/file/d/1XsoyD7lMC-9a9Cxhld8sdEE-0PF3lxvB/view?usp=sharing exploit
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 patch