8.4high
radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names
- Severity
- 8.4high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.25% (higher than 70% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| radareorg radare2 | before 6.1.4 | CVE List |
| radare radare2 | before 6.1.4 | NVD |
All scores
| VulnCheck | 8.4high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.
NVD (es)
radare2 anterior a la versión 6.1.4 contiene una vulnerabilidad de inyección de comandos en la función print_gvars() del analizador PDB que permite a los atacantes ejecutar comandos arbitrarios mediante la creación de un archivo PDB malicioso con caracteres de nueva línea en los nombres de los símbolos. Los atacantes pueden inyectar comandos arbitrarios de radare2 a través de la interpolación no saneada de nombres de símbolos en el comando flag rename, los cuales se ejecutan posteriormente cuando un usuario ejecuta el comando idp contra el archivo PDB malicioso, lo que permite la ejecución arbitraria de comandos del sistema operativo a través del operador de ejecución de shell de radare2.
References
| https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero | exploit, technical-description, third-party-advisory | |
| https://github.com/radareorg/radare2/issues/25730 | exploit, issue-tracking, third-party-advisory | |
| https://github.com/radareorg/radare2/pull/25731 | issue-tracking, patch | |
| https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40517 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-40517 changed 2026-10-26 | Public domain |