Description
A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function r_cons_rainbow_free in the library /libr/cons/pal.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 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 identified as 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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Radare2 | 5.9.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | radare2 | No fix yet | — |
| Ubuntu 26.04 LTS | radare2 | No fix yet | — |
| Ubuntu 25.10 | radare2 | No fix yet | — |
| Ubuntu 16.04 LTS | radare2 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | radare2 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | radare2 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | radare2 | No fix yet | — |
References
- VDB-311134 | Radare2 radiff2 pal.c r_cons_rainbow_free memory corruption vdb-entry technical-description
- VDB-311134 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #586923 | radare2 radiff2 5.9.9 and master branch Memory corruption third-party-advisory
- https://github.com/radareorg/radare2/issues/24235 issue-tracking
- https://github.com/radareorg/radare2/issues/24235#issuecomment-2918847213 issue-tracking
- https://drive.google.com/file/d/1PYNtV7Kx2OEgM9Cemb5FBlMJH_J1wux0/view?usp=sharing exploit
- https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 patch