CVE-2025-5648 Radare2 radiff2 pal.c r_cons_pal_init memory corruption

Low 2.0 Published Updated

Local attackers can trigger memory corruption in Radare2's radiff2 component via the experimental -T argument, causing a crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-5648?

CVE-2025-5648 is a low-severity memory corruption vulnerability in Radare Radare2, published on 5 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in Radare2 5.9.9. It has been classified as problematic. Affected is the function r_cons_pal_init in the library /libr/cons/pal.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 exploitability is told 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.

Weakness: CWE-119

Which versions are affected by CVE-2025-5648?

It affects 1 product.

Products include Radare Radare2.

How do I fix CVE-2025-5648?

No fix has been published for CVE-2025-5648 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-5648 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5648 exists.

All Radare Radare2 vulnerabilities

Sources

Also known as GHSA-m9vf-v59m-rpvj, UBUNTU-CVE-2025-5648.

Is CVE-2025-5648 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free