CVE-2026-40499: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
radare2 versions prior to 6. 1. 4 contain a command injection vulnerability in the PDB parser's print_gvars() function. This flaw allows attackers to execute arbitrary commands by embedding newline characters in the PE section header name field of a malicious PDB file. When the idp command processes such a file, the injected commands are executed. The vulnerability is identified as CWE-78 (OS Command Injection) and has a high severity with a CVSS score of 8. 4.
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 are not properly neutralized. This allows attackers to craft malicious PDB files with specially crafted section names that inject r2 commands. These commands are executed when the idp command processes the file, enabling arbitrary command execution within the context of the radare2 process.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the system running radare2 by supplying a malicious PDB file. This can lead to unauthorized actions and potential system compromise. The CVSS 4.0 score of 8.4 indicates a high severity impact with local attack vector, low attack complexity, no privileges required, but user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently confirmed for this vulnerability. Users should monitor the radareorg project for updates and apply version 6.1.4 or later once available. Until a fix is released, avoid processing untrusted or suspicious PDB files with radare2 to mitigate risk. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
CVE-2026-40499: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
Description
radare2 versions prior to 6. 1. 4 contain a command injection vulnerability in the PDB parser's print_gvars() function. This flaw allows attackers to execute arbitrary commands by embedding newline characters in the PE section header name field of a malicious PDB file. When the idp command processes such a file, the injected commands are executed. The vulnerability is identified as CWE-78 (OS Command Injection) and has a high severity with a CVSS score of 8. 4.
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 are not properly neutralized. This allows attackers to craft malicious PDB files with specially crafted section names that inject r2 commands. These commands are executed when the idp command processes the file, enabling arbitrary command execution within the context of the radare2 process.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary commands on the system running radare2 by supplying a malicious PDB file. This can lead to unauthorized actions and potential system compromise. The CVSS 4.0 score of 8.4 indicates a high severity impact with local attack vector, low attack complexity, no privileges required, but user interaction needed, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation is currently confirmed for this vulnerability. Users should monitor the radareorg project for updates and apply version 6.1.4 or later once available. Until a fix is released, avoid processing untrusted or suspicious PDB files with radare2 to mitigate risk. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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/15/2026, 3:01:48 AM
Last updated: 4/15/2026, 5:14:01 AM
Views: 9
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.