CVE-2026-40517: 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 an OS command injection vulnerability in the PDB parser's print_gvars() function. This flaw allows attackers to craft malicious PDB files with newline characters in symbol names to inject arbitrary radare2 commands. These commands are executed when a user runs the idp command on the malicious file, leading to arbitrary OS command execution via radare2's shell execution operator. The vulnerability is rated high severity with a CVSS score of 8. 4. No official patch or remediation guidance is currently provided by the vendor. There are no known exploits in the wild at this time.
AI Analysis
Technical Summary
CVE-2026-40517 is an OS command injection vulnerability in radare2 prior to version 6.1.4. The issue exists in the PDB parser's print_gvars() function, where unsanitized symbol names containing newline characters allow injection of arbitrary radare2 commands. These commands are interpolated into the flag rename command and executed when the idp command is run against the malicious PDB file. This leads to arbitrary OS command execution through radare2's shell execution operator. The vulnerability has a CVSS 4.0 score of 8.4, indicating high severity. No patch or official remediation level has been disclosed by the vendor as of the published date.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the system running radare2 by supplying a crafted PDB file. This can lead to full compromise of the affected system depending on the privileges of the radare2 process. The vulnerability requires user interaction (running the idp command) and local access to the malicious file. There are no reports of active exploitation in the wild.
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, especially running the idp command on such files. Monitoring vendor channels for updates or patches 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 versions prior to 6. 1. 4 contain an OS command injection vulnerability in the PDB parser's print_gvars() function. This flaw allows attackers to craft malicious PDB files with newline characters in symbol names to inject arbitrary radare2 commands. These commands are executed when a user runs the idp command on the malicious file, leading to arbitrary OS command execution via radare2's shell execution operator. The vulnerability is rated high severity with a CVSS score of 8. 4. No official patch or remediation guidance is currently provided by the vendor. There are no known exploits in the wild at this time.
CVSS v4.0
Score 8.4high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-40517 is an OS command injection vulnerability in radare2 prior to version 6.1.4. The issue exists in the PDB parser's print_gvars() function, where unsanitized symbol names containing newline characters allow injection of arbitrary radare2 commands. These commands are interpolated into the flag rename command and executed when the idp command is run against the malicious PDB file. This leads to arbitrary OS command execution through radare2's shell execution operator. The vulnerability has a CVSS 4.0 score of 8.4, indicating high severity. No patch or official remediation level has been disclosed by the vendor as of the published date.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary operating system commands on the system running radare2 by supplying a crafted PDB file. This can lead to full compromise of the affected system depending on the privileges of the radare2 process. The vulnerability requires user interaction (running the idp command) and local access to the malicious file. There are no reports of active exploitation in the wild.
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, especially running the idp command on such files. Monitoring vendor channels for updates or patches 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/30/2026, 8:11:17 AM
Last updated: 6/6/2026, 6:08:02 AM
Views: 82
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.