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…
EPSS 0.0%top 92%

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 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/30/2026, 08:11:17 UTC

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.

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/30/2026, 8:11:17 AM

Last updated: 6/6/2026, 6:08:02 AM

Views: 82

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