What’s Vulnerable › Vulnerabilities
CVE-2026-40527: radare2 Command Injection via DWARF Parameter Names
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-17 · updated 2026-10-26
- Weakness: CWE-78
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.
Affected products
- radareorg/radare2: before 6.1.6 — fixed in 6.1.6
How to fix
Upgrade to a fixed version: radareorg/radare2 6.1.6. Check the vendor advisory for mitigations.
References
- https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
- https://github.com/radareorg/radare2/pull/25821
- https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names
Get alerted when CVE-2026-40527 or the next vulnerability affects your stack