Skip to content

CVE-2026-40527 radare2 Command Injection via DWARF Parameter Names

HighCVSS 8.5 EPSS 0.93%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Ubuntu

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.

Upgrade path

5 packages: 2 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/radare2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/radare2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/radare2(Ubuntu 26.10) All versions No fix listed No fix yet
radare2 < 6.1.6 6.1.6 Fixed
radareorg radare2 < bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 Fixed

Affected products

ProductAffected versionsFixed in
radareorg radare2 < bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
ubuntu/radare2(Ubuntu:24.04) All versions No fix listed
ubuntu/radare2(Ubuntu:26.04) All versions No fix listed
ubuntu/radare2(Ubuntu:26.10) All versions No fix listed
radare2 < 6.1.6 6.1.6

References