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-40527: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in radareorg radare2

0
High
VulnerabilityCVE-2026-40527cvecve-2026-40527cwe-78
Published: Fri Apr 17 2026 (04/17/2026, 20:25:20 UTC)
Source: CVE Database V5
Vendor/Project: radareorg
Product: radare2

Description

radare2 prior to commit bc5a890 contains a command injection vulnerability in the afsv/afsvj command path where crafted ELF binaries can embed malicious r2 command sequences as DWARF DW_TAG_formal_parameter names. Attackers can craft a binary with shell commands in DWARF parameter names that execute when radare2 analyzes the binary with aaa and subsequently runs afsvj, allowing arbitrary shell command execution through the unsanitized parameter interpolation in the pfq command string.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/17/2026, 21:08:03 UTC

Technical Analysis

CVE-2026-40527 is an OS command injection vulnerability in radare2 before commit bc5a890. The vulnerability arises from the afsv/afsvj command path where malicious ELF binaries embed shell commands as DWARF DW_TAG_formal_parameter names. When radare2 analyzes such binaries with the aaa command and then executes afsvj, the unsanitized interpolation of these parameters in the pfq command string leads to arbitrary shell command execution. This vulnerability is classified under CWE-78 and has a CVSS 4.0 score of 8.5, indicating high severity. No official patch or remediation guidance is currently documented.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary shell commands on the system running radare2 without requiring privileges or user interaction beyond opening a crafted binary. This can lead to full system compromise depending on the environment and permissions of the radare2 process.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid analyzing untrusted or suspicious ELF binaries with radare2 commands aaa and afsvj to prevent exploitation.

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.810Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e29db8bdfbbecc598ee1c8

Added to database: 4/17/2026, 8:53:12 PM

Last enriched: 4/17/2026, 9:08:03 PM

Last updated: 4/21/2026, 12:17:40 AM

Views: 25

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