2.0low
Radare2 radiff2 cons.c r_cons_context_break_pop memory corruption
- Severity
- 2.0low CVSS:4.0 by VulDB
- Exploit likelihood
- 0.27% (higher than 12% of CVEs)
- Published
- Last changed
- Assigned by
- VulDB
Description
A vulnerability was found in Radare2 5.9.9 and classified as problematic. This issue affects the function r_cons_context_break_pop in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitation is known 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 named 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
| Product or package | Versions | Reported by |
|---|---|---|
| Radare2 | 5.9.9 | CVE List |
| radare radare2 | 5.9.9 | NVD |
All scores
| VulDB | 2.0low CVSS:4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| VulDB | 2.5low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| VulDB | 2.5low CVSS:3.0 | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L |
| VulDB | 1.0low CVSS:2.0 | AV:L/AC:H/Au:S/C:N/I:N/A:P |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
A vulnerability was found in Radare2 5.9.9 and classified as problematic. This issue affects the function r_cons_context_break_pop in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. The attack needs to be approached locally. The complexity of an attack is rather high. The exploitation is known 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 named 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.
CVE List (de)
Eine problematische Schwachstelle wurde in Radare2 5.9.9 gefunden. Davon betroffen ist die Funktion r_cons_context_break_pop in der Bibliothek /libr/cons/cons.c der Komponente radiff2. Dank der Manipulation des Arguments -T mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Umgesetzt werden muss der Angriff lokal. Die Komplexität eines Angriffs ist eher hoch. Die Ausnutzbarkeit gilt als schwierig. Der Exploit steht zur öffentlichen Verfügung. Bisher konnte die Existenz der vermeintlichen Schwachstelle noch nicht eindeutig nachgewiesen werden. Der Patch wird als 5705d99cc1f23f36f9a84aab26d1724010b97798 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.
NVD (es)
Se encontró una vulnerabilidad en Radare2 5.9.9 y se clasificó como problemática. Este problema afecta a la función r_cons_context_break_pop en la librería /libr/cons/cons.c del componente radiff2. La manipulación del argumento -T provoca corrupción de memoria. El ataque debe abordarse localmente. Es un ataque de complejidad bastante alta. Parece difícil de explotar. Se ha hecho público el exploit y puede que sea utilizado. La existencia real de esta vulnerabilidad aún se duda. El parche se llama 5705d99cc1f23f36f9a84aab26d1724010b97798. Se recomienda aplicar un parche para solucionar este problema. La documentación explica que el parámetro -T es experimental y causa fallos. Un análisis posterior ha demostrado que "la ejecución no supone un problema real a menos que se utilice asan". Se ha añadido una nueva advertencia.
References
| https://vuldb.com/?id.311135 | technical-description, third-party-advisory, vdb-entry | |
| https://vuldb.com/?ctiid.311135 | permissions-required, signature, vdb-entry | |
| https://vuldb.com/?submit.586928 | third-party-advisory, vdb-entry | |
| https://github.com/radareorg/radare2/issues/24237 | exploit, issue-tracking, vendor-advisory | |
| https://github.com/radareorg/radare2/issues/24237#issuecomment-2918846137 | issue-tracking, vendor-advisory | |
| https://drive.google.com/file/d/16ApwSAKLDqm1qzJLe-uUZSCyy8HNG965/view?usp=sharing | exploit | |
| https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-5647 changed 2025-06-05 | CVE Terms of Use |
| NVD | CVE-2025-5647 changed 2026-06-17 | Public domain |