CVE-2026-40527
JSON

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 packageVersionsReported by
radareorg radare2before bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683CVE List
radare radare2before 6.1.6NVD

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

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

Sources

SourceRecordLicence
CVE ListCVE-2026-40527 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-40527 changed 2026-10-26Public domain