8.5high
radare2 Command Injection via DWARF Parameter Names
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.06% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| radareorg radare2 | before bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 | CVE List |
| radare radare2 | before 6.1.6 | NVD |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
radare2 antes del commit bc5a890 contiene una vulnerabilidad de inyección de comandos en la ruta de comandos afsv/afsvj donde binarios ELF manipulados pueden incrustar secuencias de comandos r2 maliciosas como nombres de parámetros formales DWARF DW_TAG. Los atacantes pueden crear un binario con comandos de shell en nombres de parámetros DWARF que se ejecutan cuando radare2 analiza el binario con aaa y posteriormente ejecuta afsvj, permitiendo la ejecución arbitraria de comandos de shell a través de la interpolación de parámetros no saneados en la cadena de comandos pfq.
References
| https://github.com/radareorg/radare2/pull/25821 | exploit, issue-tracking, patch | |
| https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 | patch | |
| https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40527 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-40527 changed 2026-10-26 | Public domain |