CVE-2025-5642: Radare2 radiff2 pal.c r_cons_pal_init memory corruption

Published Jun 5, 2025
·
Updated

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

2 affected components
Radare2 radiff2
Radare Radare2=5.9.9

Event History

Jun 5, 2025
CVE Published
via MITRE·06:31 AM
Data Sourced
via MITRE·06:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 26, 57485
Event
via FIRST·05:28 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-5642?

CVE-2025-5642 is classified as problematic due to the potential for memory corruption.

2

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.

3

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.

4

How does CVE-2025-5642 need to be exploited?

Exploitation of CVE-2025-5642 requires local access to the affected system.

5

What type of vulnerability is CVE-2025-5642?

CVE-2025-5642 is characterized as a memory corruption vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203