RCE in Radare Radare2
CVE-2026-40527
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (73.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.015 · change: +0.005
Affected products
- Radare Radare2
- Radareorg Radare2 — versions 0
Weakness classification (CWE)
References
- github.com/radareorg/radare2/pull/25821 (issue-tracking, Exploit, Patch, Issue Tracking)
- github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 (Patch, patch)
- www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-40527?
- CVE-2026-40527 is a high-severity vulnerability in Radare Radare2, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-04-17.
- How severe is CVE-2026-40527?
- High severity. CVSS v3 base score is 7.8 out of 10.