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)
EPSS: 0.009 (57.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Radare Radare2
- Radareorg Radare2 — versions 0
Weakness classification (CWE)
References
- disclosure@vulncheck.com (issue-tracking, Exploit, Patch, Issue Tracking)
- disclosure@vulncheck.com (Patch, patch)
- disclosure@vulncheck.com (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.