← Vulnerability feed

Vulnerability record · CVE-2026-40499 · published 15 April 2026

CVE-2026-40499: Radare2 os command injection vulnerability

Radare · Radare2

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.

8.4 CVSS 4.0 High EPSS 1.7% · top 23.8% CWE-78 · OS command injection
8.4CVSS 4.0 base score
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40499 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-1864Radare2 memory buffer overflow vulnerabilityImproper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in radareorg radare2 allows Overflow Buffers.This issue affects…EPSS 0.48%10.0CVE-2025-1744Radare2 out-of-bounds write vulnerabilityOut-of-bounds Write vulnerability in radareorg radare2 allows heap-based buffer over-read or buffer overflow.This issue affects radare2: before <5.9.…EPSS 0.51%9.8CVE-2024-29646Radare2 classic buffer overflow vulnerabilityBuffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute arbitrary code via the name, type, or group fields.EPSS 0.92%9.8CVE-2023-46569Radare2 out-of-bounds read vulnerabilityAn out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32_fpu function of libr/arch/p/nds32/nds32-dis.h.EPSS 0.92%9.8CVE-2023-46570Radare2 out-of-bounds read vulnerabilityAn out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h.EPSS 0.90%9.8CVE-2023-4322Radare2 heap-based buffer overflow vulnerabilityHeap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0.EPSS 0.95%9.8CVE-2022-0559Radare2 use after free vulnerabilityUse After Free in GitHub repository radareorg/radare2 prior to 5.6.2.EPSS 1.3%9.8CVE-2022-0139Radare2 use after free vulnerabilityUse After Free in GitHub repository radareorg/radare2 prior to 5.6.0.EPSS 1.2%

Source: NIST National Vulnerability Database (record CVE-2026-40499), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.