Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40517: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2

0
High
VulnerabilityCVE-2026-40517cvecve-2026-40517cwe-78
Published: Wed Apr 22 2026 (04/22/2026, 21:44:12 UTC)
Source: CVE Database V5
Vendor/Project: radareorg
Product: 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

AILast updated: 04/22/2026, 22:21:33 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses