CVE-2026-40527

published 17 Apr 2026 · updated 8 Nov 2026

radare2 Command Injection via DWARF Parameter Names

7.8HighCVSS 7.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
radareorg<bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40527 severity on Zeptric[![CVE-2026-40527](https://zeptric.io/badge/cve/CVE-2026-40527.svg)](https://zeptric.io/cve/CVE-2026-40527)