CVE-2026-40499
radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
- State
- Published
- Severity
- 8.4 High
- Published
- Apr 15, 2026
- Updated
- Jul 14, 2026
- Reserved
- Apr 13, 2026
Description
radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
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 |
Weaknesses
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Products
| Product | Versions |
|---|---|
radare2radareorg |
|
References
- https://github.com/radareorg/radare2/issues/25752issue-tracking
- https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397patch
- https://github.com/radareorg/radare2/releases/tag/6.1.4release-notes
- https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvarsthird-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.