CVE-2026-40499
8.4
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| radareorg | radare2 | 0 < 6.1.4 | affected |
| radareorg | radare2 | 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397 | unaffected |
Weaknesses
- CWE-78: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: total
References
- https://github.com/radareorg/radare2/issues/25752
- https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
- https://github.com/radareorg/radare2/releases/tag/6.1.4
- https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.