CVE-2026-40499 is a command injection vulnerability in radare2 versions prior to 6.1.4, located in the PDB parser's print_gvars() function. Attackers can exploit this flaw by crafting malicious PDB files with specially crafted section names containing newline bytes, allowing them to inject and execute arbitrary r2 commands when the idp command processes the file. The vulnerability specifically affects the PE section header name field parsing logic. The attack vector appears to be local or file-based, requiring an attacker to create and deliver a malicious PDB file to a target user. The attack complexity is relatively low, as the vulnerability can be triggered through file parsing without requiring special privileges or user interaction beyond opening the crafted file. Successful exploitation would allow arbitrary command execution within the context of the radare2 application. This vulnerability is not currently listed on the Known Exploited Vulnerabilities (KEV) catalog, indicating no confirmed active exploitation in the wild. The EPSS score of 0.0017 suggests minimal real-world exploitation probability, and the FAUCET risk score of 41/100 indicates moderate concern. Community attention appears limited, and exploit code availability has not been reported, though users of radare2 should still upgrade to version 6.1.4 or later to address this issue.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 0, < 6.1.4CPE match | cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:* | ||
<= 6.1.4CPE matchmatch criteria | cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:* |
CVSS version used by this source: 4.0
CVSS: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
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.