CVE-2026-40499: radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

Published Apr 15, 2026
·
Updated

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

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

    If upgrading is not immediately possible, prevent untrusted users from supplying PDB files to radare2 (avoid running radare2 on attacker-provided PDBs), since the vulnerability is triggered when the idp command processes a malicious PDB file via the PDB parser print_gvars() function.

Event History

Apr 15, 2026
CVE Published
via MITRE·02:05 AM
Data Sourced
via MITRE·02:05 AM
DescriptionWeakness
Data Sourced
via NVD·04:17 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40499?

CVE-2026-40499 is classified as a high severity vulnerability due to its potential to allow arbitrary command execution.

2

How do I fix CVE-2026-40499?

To fix CVE-2026-40499, upgrade Radare2 to version 6.1.4 or later.

3

What software versions are affected by CVE-2026-40499?

CVE-2026-40499 affects all Radare2 versions prior to 6.1.4.

4

What type of vulnerability is CVE-2026-40499?

CVE-2026-40499 is a command injection vulnerability related to the PDB parser in Radare2.

5

Can CVE-2026-40499 be exploited remotely?

Yes, CVE-2026-40499 can be exploited remotely if an attacker can provide specially crafted input to the PDB parser.

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