CVE-2026-40517 PUBLISHED

radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names

Assigner: VulnCheck
Reserved: 13.04.2026 Published: 22.04.2026 Updated: 22.04.2026

radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.

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

Credits

  • Jun Rong of Calif.io finder

References

Problem Types

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