CVE-2026-108387
Description
A flaw was found in radare2. An attacker can exploit this vulnerability by convincing a user to open or analyze a specially crafted binary file. When parsed, malicious data causes radare2 to invoke an internal debugging handler that executes system commands with attacker-supplied arguments. This issue can lead to arbitrary code execution with the permissions of the user running radare2.
Statement
This vulnerability is rated as an Important severity flaw because successful exploitation enables arbitrary command execution with the privileges of the user running radare2, though it requires local interaction rather than exposing an unattended network service. In Red Hat environments, radare2 operates as an interactive command-line reverse engineering framework invoked locally by analysts. Because parsing malicious binary formats triggers unintended invocation of internal debugging facilities, inspecting untrusted files can lead to full compromise of the local user session.
Mitigation
Avoid opening or analyzing untrusted binary files with radare2. If analyzing untrusted or suspicious files is necessary, run the utility within an isolated, unprivileged container or sandboxed environment to prevent unauthorized command execution from affecting the host system.
Caveats: Sandboxing or container isolation may restrict radare2 from accessing host file paths and system debuggers, requiring target binaries to be explicitly shared into the isolated environment.
--- CME Mitigation Guidance (2026-11-06) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to eliminate unvalidated URI redirection and dynamic bclass assignments in radare2 binary format plugins to prevent automatic debug handler invocation via execvp: upgrade to radare2 6.2.2 (or the fixed Radare builds), which replace dynamic bclass assignments with hardcoded static strings across affected plugins and enforce capability-based URI scheme validation before I/O redirection, closing all 3 injection vectors (crafted Pebble binary, crafted Sega Mega Drive (SMD) binary, crafted IO binary). Until patched, this is a concern on systems and analysts opening or analyzing untrusted binary files with radare2, so avoid opening or analyzing untrusted binary files with radare2, or execute the utility strictly inside an isolated, unprivileged container or sandbox. As a compensating measure, configure an EDR agent to detect anomalous child processes or shell activity spawned by radare2, log unauthorized execve syscalls and command execution triggered by radare2 via the audit subsystem, and detect unexpected process execution and anomalous spawned binaries resulting from radare2 URI redirection using Falco or eBPF runtime security. These controls limit blast radius and contain exploitation, but they do not fix the underlying command injection defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1001 EDR Agent (Endpoint Detection & Response) (medium)
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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.