CVE-2026-40517

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductRadare2
PublishedApr 22, 2026
First seenApr 22, 2026

How to fix

Update
  • radare radare26.1.4 or later

Affected products

ProductAffected versionsFixed in
radare radare2v < 6.1.46.1.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40517 · Radare2 · Dark Radar