CVE-2026-40527OS Command Injection in Radare2

Severity
8.5HIGHNVD
EPSS
0.0%
top 91.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedApr 17

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.

CVSS 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

Affected Packages1 packages

CVEListV5radareorg/radare2< bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683

🔴Vulnerability Details

2
GHSA
GHSA-4pc8-6qgf-fgv2: radare2 prior to commit bc5a890 contains a command injection vulnerability in the afsv/afsvj command path where crafted ELF binaries can embed malicio2026-04-17
VulDB
radareorg radare2 ELF DW_TAG_formal_parameter os command injection2026-04-17