Memory Corruption Vulnerability in Radare2's radiff2 Component
CVE-2025-5642

2LOW

Key Information:

Vendor

Radare2

Status
Vendor
CVE Published:
5 June 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2025-5642?

A memory corruption issue has been discovered in the Radare2 tool, specifically within the radiff2 component’s r_cons_pal_init function located in the libr/cons/pal.c library. This vulnerability requires local access to exploit, with the complexity of executing an attack deemed high. The issue arises when manipulating certain parameters, particularly parameter -T, which is labeled as experimental and prone to causing crashes. The existence of this vulnerability has been publicly disclosed, along with a patch (commit identifier 5705d99cc1f23f36f9a84aab26d1724010b97798) offered for remediation. Caution is advised as attacking this vulnerability may not pose significant risk under normal usage conditions, though additional warnings related to its exploitability have been issued.

Affected Version(s)

Radare2 5.9.9

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
2
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

rootsec (VulDB User)
.
CVE-2025-5642 : Memory Corruption Vulnerability in Radare2's radiff2 Component