CVE-2026-40527: radare radare2 OS Command Injection
Vulnerability summary
CVE-2026-40527 is a high (CVSS 8.5) OS Command Injection vulnerability in radare radare2. EPSS estimates a 1.45% chance of exploitation in the next 30 days, higher than 73% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 17-04-2026PublishedVulnerability first disclosed.
- 14-07-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.5HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.45%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
+0.54 pp
From 0.92% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundRadare2
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Radare1 product
- radare2< 6.1.6
Radareorg1 product
- radare2< bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683
Ubuntu1 product
- radare2All versions (No fix recorded)
3 vendors · 3 products
References
5 links- www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-namesThird Party Advisory