OS Command Injection Affecting radare2 package, versions <6.1.6+ds-2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.72% (77th 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-DEBIANUNSTABLE-RADARE2-16189138
  • published24 Apr 2026
  • disclosed22 Apr 2026

Introduced: 22 Apr 2026

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

How to fix?

Upgrade Debian:unstable radare2 to version 6.1.6+ds-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream radare2 package and not the radare2 package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1