Skip to content
OpenAdvisories
Low · 2.5 CVE-2025-5644 EUVD-2025-16970GHSA-mmq4-59cg-p659

Radare2 radiff2 cons.c r_cons_flush use after free

Published Jun 5, 2025 · Updated Jun 5, 2025 · Assigned by VulDB

Description

A vulnerability, which was classified as problematic, has been found in Radare2 5.9.9. Affected by this issue is the function r_cons_flush in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to use after free. Local access is required to approach this attack. 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 name 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". A new warning has been added.

Affected products

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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