# CVE-2026-40499: radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.39%, higher than 73% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-15T02:05:20.899Z
- Modified: 2026-11-08T14:02:48.223Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- radareorg radare2: before 6.1.4 (not affected: 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397)
- radare radare2: up to 6.1.4

## Every score

- VulnCheck: CVSS:4.0 8.4 High `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`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/radareorg/radare2/issues/25752> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397> (patch)
- <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)

## Sources

- CVE List: [CVE-2026-40499](https://www.cve.org/CVERecord?id=CVE-2026-40499), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-40499](https://nvd.nist.gov/vuln/detail/CVE-2026-40499), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40499 · Whole record: https://cve.day/CVE-2026-40499.json · Rebuilt by cve.day 2026-11-25T22:59:18.817Z
