CVE-2026-40499 PUBLISHED

radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

Assigner: VulnCheck
Reserved: 13.04.2026 Published: 15.04.2026 Updated: 15.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.4

Product Status

Vendor radareorg
Product radare2
Versions Default: unaffected
  • affected from 0 to 6.1.4 (excl.)
  • Version 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397 is unaffected

Credits

  • junrong of Calif finder

References

Problem Types

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