CVE-2026-40517
JSON

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 packageVersionsReported by
radareorg radare2before 6.1.4CVE List
radare radare2before 6.1.4NVD

All scores

VulnCheck8.4high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

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

Sources

SourceRecordLicence
CVE ListCVE-2026-40517 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-40517 changed 2026-10-26Public domain