CVE-2026-40499

radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

State
Published
Severity
8.4 High
Published
Apr 15, 2026
Updated
Jul 14, 2026
Reserved
Apr 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
radare2radareorg
  • before 6.1.4Affected
  • 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.