CVE-2026-40527

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductRadare2
PublishedApr 17, 2026
First seenApr 17, 2026

How to fix

Affected products

ProductAffected versionsFixed in
radare radare2v < 6.1.66.1.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40527 · Radare2 · Dark Radar