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.
References
| Link | Resource |
|---|---|
| https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397 | Patch |
| https://github.com/radareorg/radare2/issues/25752 | Exploit Issue Tracking Third Party Advisory |
| https://github.com/radareorg/radare2/releases/tag/6.1.4 | Release Notes |
| https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-04-15 04:17
Updated : 2026-06-17 10:45
NVD link : CVE-2026-40499
Mitre link : CVE-2026-40499
CVE.ORG link : CVE-2026-40499
JSON object : View
Products Affected
radare
- radare2
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
