CVE-2026-40499
radare2 prior to version 6.1.4 contains a command injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero
- github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
- github.com/radareorg/radare2/issues/25752
- github.com/radareorg/radare2/releases/tag/6.1.4
- www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars
- nvd.nist.gov/vuln/detail/CVE-2026-40499
- cve.org/CVERecord?id=CVE-2026-40499
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.