---
id: CVE-2026-40499
title: radare2 < 6.1.4 Command Injection via PDB Parser print_gvars()
summary: >-
  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. Att…
severity: high
cvss: 8.4
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-78
vendor: radareorg
product: radare2
affected:
  - radare2 < 6.1.4
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-04-16T14:06:39.933568Z'
exploitAvailable: true
published: '2026-04-15'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:02:48.223Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-40499'
references:
  - url: 'https://github.com/radareorg/radare2/issues/25752'
  - url: >-
      https://github.com/radareorg/radare2/commit/5590c87deeb7eb2a106fd7aab9ca88bfeebb7397
  - url: 'https://github.com/radareorg/radare2/releases/tag/6.1.4'
    label: radare2 6.1.4 Release Notes
  - url: >-
      https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-print-gvars
tags:
  - cve.org
  - exploit-available
epss: 0.01184
epssPercentile: 0.67995
ingestedAt: '2026-11-08T14:51:22.444Z'
---

## Overview

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.

## Affected

- `radare2 < 6.1.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
