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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 Patch
- https://github.com/radareorg/radare2/pull/25821 Exploit, Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.5 · radareNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*
References 3
- https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 Patch
- https://github.com/radareorg/radare2/pull/25821 Exploit, Issue Tracking, Patch
- https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names Third Party Advisory