CVE-2026-40527

HIGH

radare2 Command Injection via DWARF Parameter Names

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0092
EPSS Percentile 55.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
radare/radare2 < 6.1.6
radareorg/radare2 < bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
Published Apr 17, 2026
Tracked Since Apr 18, 2026