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.
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.