CVE-2026-40499

HIGH

radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0118
EPSS Percentile 63.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-78
Status published
Products (3)
radare/radare2 < 6.1.4
radareorg/radare2 < 6.1.4
radareorg/radare2 5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
Published Apr 15, 2026
Tracked Since Apr 15, 2026