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.18% (64th 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-16325149
  • published1 May 2026
  • disclosed15 Apr 2026
  • creditHung Nguyen

Introduced: 15 Apr 2026

CVE-2026-40499  (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 system commands by embedding a newline byte in the PE section header name field of a crafted PDB file, which leads to the injection and execution of commands when the idp command processes the file.

CVSS Base Scores

version 4.0
version 3.1