High severity · published Apr 17, 2026
CVE-2026-40527
radare2 Command Injection via DWARF Parameter Names
7.8
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 60% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
radare2 · radareorg
before bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-40527
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-40527
Patch
https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
Exploit
https://github.com/radareorg/radare2/pull/25821
Third Party Advisory
https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names
More from radare2
7.8
CVE-2026-14789
radareorg radare2 Memory64ListStream mdmp.c stack-based overflow
7.8
CVE-2026-14788
radareorg radare2 cfile.c r_core_bin_load use after free
7.8
CVE-2026-14787
radareorg radare2 pb Print cmd_print.inc cmd_print integer overflow
7.8
CVE-2026-14760
radareorg radare2 regprofile disasm.c r_core_seek_arch_bits use after free
7.8
CVE-2026-14759
radareorg radare2 RBinJava Line Number Table class.c r_bin_java_inner_classes_attr_calc_size heap-based overflow
