CVE-2026-40517

Description

A flaw was found in radare2 that could lead to arbitrary operating system (OS) command execution. A local user could be exploited through a command injection vulnerability in the PDB (Program Database) parser. By processing a specially crafted malicious PDB file, the idp command would execute arbitrary radare2 commands, enabling the attacker to run commands on the underlying operating system.

Statement

Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references.

Mitigation

To mitigate this issue, avoid processing untrusted Program Database (PDB) files with radare2. Ensure that all PDB files analyzed originate from trusted sources to prevent the execution of arbitrary commands.

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Non-Repudiation

Technical Impact: Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart; Read Files or Directories; Modify Files or Directories; Read Application Data; Modify Application Data; Hide Activities

Attackers could execute unauthorized operating system commands, which could then be used to disable the product, or read and modify data for which the attacker does not have permissions to access directly. Since the targeted application is directly executing the commands instead of the attacker, any malicious activities may appear to come from the application or the application's owner.

Frequently Asked Questions

Want to get errata notifications? Sign up here.