# CVE-2026-40527: radare2 Command Injection via DWARF Parameter Names

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 6.1.6, bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-17 · Modified: 2026-11-08
- Aliases: UBUNTU-CVE-2026-40527
- Record: https://cvemate.com/vulnerability/CVE-2026-40527 · JSON: https://cvemate.com/vulnerability/CVE-2026-40527/json

## Description

```text
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.
```

## Signals

- CVSS: 8.5 high (v4.0, CVE.org) 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
- EPSS: 1.088%, percentile 66.462%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- ubuntu radare2 (Ubuntu): All versions (No fix recorded)
- radare radare2: \< 6.1.6
- radareorg radare2: \< bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683

## References

- <https://github.com/radareorg/radare2/pull/25821>
- <https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683>
- <https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names>
- <https://ubuntu.com/security/CVE-2026-40527>
- <https://www.cve.org/CVERecord?id=CVE-2026-40527>

---

Data as of 2026-12-05T11:03:07.837Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
