CVE-2026-40517: radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names

Published Apr 22, 2026
·
Updated

radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's printgvars() 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.

Affected Software

2 affected components
Radare2 Radare2<6.1.4
Radare Radare2<6.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade radare2 to a version that resolves this vulnerability.

    Fixed in 6.1.4
  2. Compensating control

    Do not run radare2 idp against untrusted/malicious PDB files until radare2 is upgraded to 6.1.4

Event History

Apr 22, 2026
CVE Published
via MITRE·09:44 PM
Data Sourced
via MITRE·09:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40517?

CVE-2026-40517 is considered a high severity vulnerability due to its capability to allow arbitrary command execution.

2

How do I fix CVE-2026-40517?

To fix CVE-2026-40517, upgrade radare2 to version 6.1.4 or later.

3

What versions of radare2 are affected by CVE-2026-40517?

CVE-2026-40517 affects all versions of radare2 prior to 6.1.4.

4

What kind of attacks can be performed using CVE-2026-40517?

CVE-2026-40517 allows attackers to execute arbitrary commands by crafting malicious PDB files.

5

Where is the command injection vulnerability found in CVE-2026-40517?

The command injection vulnerability in CVE-2026-40517 is found in the PDB parser's print_gvars() function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203