CVE-2026-40499 HIGH

CVE-2026-40499: radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

Vendor Radareorg
Product radare2
Weakness CWE-78
Published April 15, 2026
Last update April 20, 2026

CVSS base score

8.4/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.

Key dates

02Disclosure timeline

April 15, 2026 CVE published
April 20, 2026 Record updated