CVE-2025-5642: Radare2 radiff2 pal.c r_cons_pal_init memory corruption
A vulnerability classified as problematic has been found in Radare2 5.9.9. Affected is the function rconspalinit in the library /libr/cons/pal.c of the component radiff2. The manipulation leads to memory corruption. The attack needs 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 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5642?
CVE-2025-5642 is classified as problematic due to the potential for memory corruption.
How do I fix CVE-2025-5642?
To mitigate CVE-2025-5642, users should upgrade to the latest version of Radare2 that addresses this vulnerability.
What component is affected by CVE-2025-5642?
CVE-2025-5642 affects the function r_cons_pal_init located in the library /libr/cons/pal.c of the radiff2 component.
How does CVE-2025-5642 need to be exploited?
Exploitation of CVE-2025-5642 requires local access to the affected system.
What type of vulnerability is CVE-2025-5642?
CVE-2025-5642 is characterized as a memory corruption vulnerability.