What’s Vulnerable › Vulnerabilities
CVE-2026-40499: radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-15 · updated 2026-10-26
- Weakness: CWE-78
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.
Affected products
- radareorg/radare2: through 6.1.4
References
- https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
- https://github.com/radareorg/radare2/issues/25752
- https://github.com/radareorg/radare2/releases/tag/6.1.4
- https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars
Get alerted when CVE-2026-40499 or the next vulnerability affects your stack