CVE-2026-40517
radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names
- State
- Published
- Severity
- 8.4 High
- Published
- Apr 22, 2026
- Updated
- Jul 14, 2026
- Reserved
- Apr 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | 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 |
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
radare2radareorg |
|
References
- https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zerotechnical-descriptionexploit
- https://github.com/radareorg/radare2/issues/25730issue-tracking
- https://github.com/radareorg/radare2/pull/25731issue-tracking
- https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-namesthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.