# CVE-2025-5645: Radare2 radiff2 pal.c r\_cons\_pal\_init memory corruption

- Priority: **Routine**
- Reason: Not severe (CVSS 2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-05 · Modified: 2025-06-05
- Aliases: UBUNTU-CVE-2025-5645
- Record: https://cvemate.com/vulnerability/CVE-2025-5645 · JSON: https://cvemate.com/vulnerability/CVE-2025-5645/json

## Description

```text
A vulnerability, which was classified as problematic, was found in Radare2 5.9.9. This affects 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. Attacking locally is a requirement. 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 identifier 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.
```

## Signals

- CVSS: 2.5 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.237%, percentile 15.705%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference, github)

## Affected

- ubuntu radare2 (Ubuntu): All versions (No fix recorded)
- radare radare2: 5.9.9

## References

- <https://vuldb.com/?id.311133>
- <https://vuldb.com/?ctiid.311133>
- <https://vuldb.com/?submit.586922>
- <https://github.com/radareorg/radare2/issues/24234>
- <https://github.com/radareorg/radare2/issues/24234#issuecomment-2918847551>
- <https://drive.google.com/file/d/1LVaraZB30lJXtrvp-4bcEJrZYFJb2bfc/view?usp=sharing>
- <https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798>
- <https://ubuntu.com/security/CVE-2025-5645>
- <https://www.cve.org/CVERecord?id=CVE-2025-5645>

---

Data as of 2026-12-05T11:00:50.262Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
