CVE-2026-40527CWE-78

radare2 Command Injection via DWARF Parameter Names

High · published April 17, 2026

CVSS v4.0
8.5
EPSS
1%
Percentile
73.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.5 · HIGH
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.01452 · 73.2th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-17T20:25Z
EPSS history
Timeline
  • 17 APR 20:25Z
    radare2 Command Injection via DWARF Parameter Names
    cvelistv5