Command Injection Affecting radareorg/radare2 package, versions [,6.1.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.05% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-RADAREORGRADARE2-16325162
  • published1 May 2026
  • disclosed23 Apr 2026
  • creditJun Rong

Introduced: 23 Apr 2026

CVE-2026-40517  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade radareorg/radare2 to version 6.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the print_gvars function in the PDB parser. An attacker can execute arbitrary operating system commands by crafting a malicious PDB file containing specially crafted symbol names with newline characters, which are then interpolated unsafely in the flag rename command. This is triggered when a user runs the idp command against the malicious file, leading to command execution through the shell execution operator.

CVSS Base Scores

version 4.0
version 3.1