CVE-2026-40499radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
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
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | radare2 | Fix pending | UBUNTU-CVE-2026-40499 | |
| Ubuntu 26.04 | radare2 | Under investigation | UBUNTU-CVE-2026-40499 | |
| Ubuntu 25.10 | radare2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-40499 | |
| Ubuntu 24.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40499 | |
| Ubuntu 20.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40499 | |
| Ubuntu 18.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40499 | |
| Ubuntu 16.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40499 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- radareorg radare2: affected: before 6.1.4, 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397 not affected; fixed in
6.1.4
Vendor advisories:
- https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397 (patch)
- https://github.com/radareorg/radare2/releases/tag/6.1.4 (release-notes)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.