CVE-2026-40499: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
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.
AI Analysis
Technical Summary
CVE-2026-40499 is an OS command injection vulnerability in radare2 before version 6.1.4. The issue exists in the PDB parser's print_gvars() function, where newline bytes embedded in the PE section header name field can be used to inject and execute arbitrary commands. Attackers can craft malicious PDB files with specially crafted section names that trigger command execution when processed by the idp command in radare2. This vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command).
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands on the system running radare2, potentially leading to system compromise or unauthorized actions. The vulnerability requires user interaction (processing a malicious PDB file) and local access (AV:L) but has high impact on confidentiality, integrity, and availability as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided and remediationLevel is null, users should monitor radareorg advisories for updates. Until a patch is available, avoid processing untrusted or suspicious PDB files with radare2, especially using the idp command.
CVE-2026-40499: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
Description
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.
CVSS v4.0
Score 8.4high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40499 is an OS command injection vulnerability in radare2 before version 6.1.4. The issue exists in the PDB parser's print_gvars() function, where newline bytes embedded in the PE section header name field can be used to inject and execute arbitrary commands. Attackers can craft malicious PDB files with specially crafted section names that trigger command execution when processed by the idp command in radare2. This vulnerability is classified under CWE-78 (Improper Neutralization of Special Elements used in an OS Command).
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands on the system running radare2, potentially leading to system compromise or unauthorized actions. The vulnerability requires user interaction (processing a malicious PDB file) and local access (AV:L) but has high impact on confidentiality, integrity, and availability as indicated by the CVSS vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided and remediationLevel is null, users should monitor radareorg advisories for updates. Until a patch is available, avoid processing untrusted or suspicious PDB files with radare2, especially using the idp command.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.808Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69defc3b82d89c981ff96336
Added to database: 4/15/2026, 2:47:23 AM
Last enriched: 4/22/2026, 6:13:30 AM
Last updated: 5/30/2026, 10:20:41 AM
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.