CVE-2026-40527radare2 Command Injection via DWARF Parameter Names
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
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | radare2 | Fix pending | UBUNTU-CVE-2026-40527 | |
| Ubuntu 26.04 | radare2 | Under investigation | UBUNTU-CVE-2026-40527 | |
| Ubuntu 25.10 | radare2 | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-40527 | |
| Ubuntu 24.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40527 | |
| Ubuntu 20.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40527 | |
| Ubuntu 18.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40527 | |
| Ubuntu 16.04 | radare2 | Fix pending | UBUNTU-CVE-2026-40527 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- radareorg radare2: affected: before bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
Vendor advisories:
- https://github.com/radareorg/radare2/pull/25821 (patch)
- https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 (patch)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.