---
id: CVE-2026-40517
title: radare2 < 6.1.4 Command Injection via PDB Parser Symbol Names
summary: >-
  radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB
  parser's print_gvars() function that allows attackers to execute arbitrary
  commands by crafting a malicious PDB file with newline characters in symbol
  names. At…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: radareorg
product: radare2
affected:
  - radare2 < 6.1.4
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-04-23T13:51:20.805625Z'
exploitAvailable: true
published: '2026-04-22'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:02:55.682Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-40517'
references:
  - url: 'https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero'
  - url: 'https://github.com/radareorg/radare2/issues/25730'
  - url: 'https://github.com/radareorg/radare2/pull/25731'
  - url: >-
      https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names
tags:
  - cve.org
  - exploit-available
epss: 0.01051
epssPercentile: 0.64516
ingestedAt: '2026-11-08T14:51:22.441Z'
---

## Overview

radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.

## Affected

- `radare2 < 6.1.4`

## Remediation

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