CVE-2026-40517: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
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.
AI Analysis
Technical Summary
radare2 before version 6.1.4 contains an OS command injection vulnerability (CWE-78) in the PDB parser's print_gvars() function. Attackers can craft malicious PDB files with newline characters in symbol names to inject arbitrary radare2 commands via unsanitized interpolation in the flag rename command. When a user executes the idp command on such a file, these injected commands run, resulting in arbitrary OS command execution through radare2's shell execution operator. This vulnerability requires local access to the malicious file and user interaction to trigger.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the system running radare2 by leveraging crafted PDB files. This can lead to unauthorized code execution and potential system compromise. The attack requires the victim to run the idp command on the malicious file, and no privilege is required to trigger the vulnerability. The high CVSS score reflects the significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening untrusted or suspicious PDB files with radare2 and refrain from running the idp command on such files. Monitoring vendor channels for updates and applying patches promptly once released is recommended.
CVE-2026-40517: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
radare2 before version 6.1.4 contains an OS command injection vulnerability (CWE-78) in the PDB parser's print_gvars() function. Attackers can craft malicious PDB files with newline characters in symbol names to inject arbitrary radare2 commands via unsanitized interpolation in the flag rename command. When a user executes the idp command on such a file, these injected commands run, resulting in arbitrary OS command execution through radare2's shell execution operator. This vulnerability requires local access to the malicious file and user interaction to trigger.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the system running radare2 by leveraging crafted PDB files. This can lead to unauthorized code execution and potential system compromise. The attack requires the victim to run the idp command on the malicious file, and no privilege is required to trigger the vulnerability. The high CVSS score reflects the significant impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should avoid opening untrusted or suspicious PDB files with radare2 and refrain from running the idp command on such files. Monitoring vendor channels for updates and applying patches promptly once released is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-13T20:29:02.809Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e9490f19fe3cd2cdf886c1
Added to database: 4/22/2026, 10:17:51 PM
Last enriched: 4/22/2026, 10:21:33 PM
Last updated: 4/22/2026, 11:43:23 PM
Views: 7
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.