CVE-2026-40517: radare radare2 OS Command Injection
Vulnerability summary
CVE-2026-40517 is a high (CVSS 8.4) OS Command Injection vulnerability in radare radare2. EPSS estimates a 1.72% chance of exploitation in the next 30 days, higher than 77.1% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 22-04-2026PublishedVulnerability first disclosed.
- 14-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.4HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.4HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/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.72%
Chance of exploitation in the next 30 days
Percentile
77%
Versus all other CVEs
30-day change
+0.67 pp
From 1.05% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (blog.calif.io)
Maturity: unknown
Radare2
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Radare1 product
- radare2< 6.1.4
Radareorg1 product
- radare2< 6.1.4
Ubuntu1 product
- radare2All versions (No fix recorded)
3 vendors · 3 products
References
6 links- blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zeroTechnical DescriptionExploitThird Party Advisory
- github.com/radareorg/radare2/pull/25731Issue Tracking