RCE in Radare Radare2
CVE-2026-40517
radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.
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.017 (77.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 77.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.017 · change: +0.007
Affected products
- Radare Radare2
- Radareorg Radare2 — versions 0
Weakness classification (CWE)
References
- blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero (Exploit, technical-description, Third Party Advisory, exploit)
- github.com/radareorg/radare2/issues/25730 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/radareorg/radare2/pull/25731 (issue-tracking, patch, Issue Tracking)
- www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-na… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-40517?
- CVE-2026-40517 is a high-severity vulnerability in Radare Radare2, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-04-22.
- How severe is CVE-2026-40517?
- High severity. CVSS v3 base score is 7.8 out of 10.