CVE-2026-40527
CVE-2026-40527 · radare2 Command Injection via DWARF Parameter Names
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.5 · High · EPSS 0.9%
- Published
- Updated
Stack: system
Affected products and versions
radare2
- Versions
- ≥ 0, < bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683: Affected (git)
No fix published
radare2 Ubuntu:16.04:LTS
- Versions
- 0.9.6-3.1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:Pro:18.04:LTS
- Versions
- 1.6.0+dfsg-1
- 2.0.0+dfsg-1
- 2.1.0+dfsg-1
- 2.3.0+dfsg-1
- 2.3.0+dfsg-2
- 2.3.0+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:Pro:20.04:LTS
- Versions
- 3.2.1+dfsg-5build1
- 4.0.0+dfsg-1
- 4.2.1+dfsg-1
- 4.2.1+dfsg-2
- 4.2.1+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:Pro:24.04:LTS
- Versions
- 5.5.0+dfsg-1ubuntu1
- 5.5.0+dfsg-1.1ubuntu2
- 5.5.0+dfsg-1.1ubuntu3
- 5.5.0+dfsg-1.1ubuntu3+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:25.10
- Versions
- 5.9.8+dfsg-2
- 5.9.8+dfsg-2ubuntu0.25.10.1
- 5.9.8+dfsg-2ubuntu0.25.10.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:26.10
- Versions
- 6.0.7+ds-1
- 6.1.6+ds-2
- 6.1.6+ds-3
- 6.1.8+ds-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
radare2 Ubuntu:26.04:LTS
- Versions
- 5.9.8+dfsg-2
- 6.0.4+dfsg-1
- 6.0.7+ds-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published