What’s Vulnerable › Vulnerabilities
CVE-2026-40517: radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-22 · updated 2026-10-26
- Weakness: CWE-78
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 products
- radareorg/radare2: before 6.1.4 — fixed in 6.1.4
How to fix
Upgrade to a fixed version: radareorg/radare2 6.1.4. Check the vendor advisory for mitigations.
References
- https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero
- https://github.com/radareorg/radare2/issues/25730
- https://github.com/radareorg/radare2/pull/25731
- https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names
Get alerted when CVE-2026-40517 or the next vulnerability affects your stack