radare2 Command Injection Vulnerability in PDB Download via rabin2

Vulnerability

A command injection vulnerability has been identified in radare2 versions prior to 9236f44, when built on UNIX without SSL support. The issue arises in the PDB download process, where user-controlled PDB filenames are passed to 'rabin2 -PP' and injected into a shell command. This command is then executed, leading to the execution of arbitrary commands. The vulnerability was introduced in a commit that added a curl-based fallback for PDB downloads without SSL, allowing for exploitation by crafting a PDB filename that breaks out of the expected format.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the user's system.

Reproduction

To reproduce this vulnerability, build radare2 in a configuration without SSL support. Then, use 'rabin2 -PP' on a crafted PE file whose PDB filename includes a section with single quotes, such as 'evil' ; <malicious commands> ; echo '.pdb'. The injected commands will execute during the PDB download process.

Remediation

Users can update to radare2 version 6.1.4, which addresses this vulnerability.

Added: Apr 16, 2026, 3:27 AM
Updated: Apr 16, 2026, 3:27 AM

Vulnerability Rating

Custom Algorithm
spread
4.2
impact
10.0
exploitability
5.2
remediation
7.7
relevance
6.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.