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

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T20:25:20.143Z
- Modified: 2026-11-08T14:02:58.947Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- radareorg radare2: before bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
- radare radare2: before 6.1.6

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-40527](https://www.cve.org/CVERecord?id=CVE-2026-40527), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-40527](https://nvd.nist.gov/vuln/detail/CVE-2026-40527), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40527 · Whole record: https://cve.day/CVE-2026-40527.json · Rebuilt by cve.day 2026-11-25T22:59:18.970Z
