Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Pebble or SMD binary with dbg:// bclass
-
DeliveryDeliver file to analyst or automated pipeline
-
Exploitradare2 opens file and parses attacker-controlled bclass
-
ExecutionDebug I/O plugin reopens input and reaches execvp()
-
ImpactArbitrary command execution with radare2 process privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a victim (or an automated process) open or analyze a specifically crafted Pebble or Sega Mega Drive binary with a radare2 version prior to 6.2.2; the malicious binary-format plugin must place a dbg:// URI into RBinInfo->bclass, which causes radare2 to reopen the input through the debug I/O plugin and pass attacker arguments to execvp(). No explicit debugging command, authentication, or elevated privileges are required (PR:N). Limiting factors: the attacker must get the file onto the victim system and have it processed (AV:L plus passive user interaction, UI:P), and the resulting commands run only with the privileges of the radare2 process. The practical risk amplifier is that applications, scripts, and CI/triage pipelines that auto-analyze untrusted files satisfy the 'open the file' precondition without any human decision. The vendor states that upgrading to 6.2.2 is the fix; interim workarounds are to avoid analyzing untrusted files and to run radare2 in a restricted sandbox or isolated environment. |
| Impact | This is a genuine, actionable vulnerability rather than a high-CVSS-but-low-real-risk issue, though its exploitation footprint is narrower than a network-facing RCE. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H) reflects the core reality: local attack vector (the malicious file must be delivered to and processed by the victim's radare2), low complexity, no authentication or privileges required, but passive user interaction is needed (a user or automated process must open/analyze the file). The impact is full command execution with the privileges of the radare2 process, hence high confidentiality, integrity and availability, with no scope change to another security authority. Exploitation status: no public exploit identified at time of analysis - the available references are the vendor advisory, the tracking issue, and the fix commits, not a working PoC; no CISA KEV listing and no EPSS score were provided. SSVC/priority signal: the vuln.today Decision label is 'this_week', indicating a prompt-but-not-emergency remediation window, consistent with the absence of confirmed active exploitation and the local/UI-gated vector. The most important nuance is that 'local' here is misleading for threat modeling: any automation (CI pipelines, malware-triage sandboxes, bulk-analysis tooling) that feeds untrusted binaries to radare2 effectively turns this into a remotely-reachable code-execution path, which is precisely radare2's common use case. |
| Exploit ScenarioDerived | An attacker crafts a malicious Pebble or Sega Mega Drive binary whose binary-format plugin populates RBinInfo->bclass with a dbg:// URI, then gets it into an analysis pipeline or sends it to a reverse engineer. When radare2 (prior to 6.2.2) opens or analyzes the file, it reopens the input through the debug I/O plugin and passes attacker-controlled arguments to execvp(), executing arbitrary commands as the radare2 user - no explicit debug command needed. No working public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Arbitrary command execution in radare2 prior to 6.2.2 occurs when a crafted Pebble or Sega Mega Drive binary places a dbg:// URI into RBinInfo->bclass, causing radare2 to reopen the input through the debug I/O plugin and ultimately pass attacker-controlled arguments to execvp(). Only opening or analyzing the malicious file is required - no explicit debugging command, authentication, or elevated privileges (PR:N) - and the spawned commands run with the privileges of the radare2 process. The vendor fixed the issue in 6.2.2 and the runtime is confirmed vulnerable in 6.0.5 and 6.2.0; no public exploit code has been identified at time of analysis, and the practical risk concentrates on scripts, applications and CI or triage pipelines that automatically analyze untrusted binaries.
RemediationAI
Apply the vendor-released patch by upgrading radare2 to version 6.2.2 (https://github.com/radareorg/radare2/releases/tag/6.2.2), which contains the fixes in commits 59899e6b8b18772ce9460b4caa2ced7f257fae76 and c9de154cafd788d66535435e43ad6a54aed7ea2a and removes the bclass-driven I/O redirect in favor of plugin-declared URI allowlists; the GHSA advisory at https://github.com/radareorg/radare2/security/advisories/GHSA-px7c-gwvj-73vf should be referenced for tracking. Until the upgrade is deployed, the vendor's workarounds are to avoid opening or automatically analyzing untrusted files with affected versions, and to run radare2 in an appropriately restricted sandbox or isolated environment for any system that must process potentially malicious files; note that these reduce exposure but the vendor presents the version upgrade as the complete fix. Because the exploit path is triggered by file analysis rather than an explicit debugging command, pipelines and scripts that automatically triage untrusted binaries should be upgraded first or run with sandboxing and reduced process privileges in the interim.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
radare2's binary-format plugins populate an RBinInfo structure describing the file, including a 'bclass' (binary class) string. In affected versions, the core file-loading path in libr/core/cfile.c treated a '://' substring in bclass as a request to reopen the input through an I/O plugin: it concatenated bclass with the input filename, resolved the resulting URI with r_io_plugin_resolve, and reopened it, so a bclass containing 'dbg://' routed the file through the debug I/O plugin where the URI content reached execvp(). The weakness class is CWE-78 (OS command injection): untrusted file content is used to build a URI that ends up in a command-execution path without an explicit debug request. The fix (commits 59899e6b and c9de154c) removes the generic bclass-driven redirect: bin plugins now declare an explicit comma-separated set of allowed I/O URI prefixes via a new 'iouris' field (optionally selected per-file with an 'iouri' callback, as done for the UF2 plugin), I/O plugins declare matching accepted prefixes in a new 'binuris' field, and the redirect only occurs when the plugin-declared scheme matches exactly after validation that the URI is scheme-like (alphanumeric plus '+', '.', '-' followed by '://'). The same patch rewrites r_str_cmp_list in libr/util/str.c with a length-checked comparison, tightening list matching used by the new allowlist logic.
Know when Radare2 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
The malicious file must be locally opened (AV:L) by a user or process (UI:R) with no auth (PR:N); execvp() yields full command execution (C/I/A:H) within the radare2 process without scope change (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.2, attacker-controlled data from several binary format plugins could reach RBinInfo->bclass. Opening or analyzing a crafted Pebble or Sega Mega Drive binary could place a dbg:// URI in bclass, causing radare2 to reopen the input through the debug input/output plugin and ultimately pass attacker-controlled arguments to execvp(). This could execute commands with the privileges of the radare2 process without an explicit debugging command. This issue is fixed in version 6.2.2.
Technical POC Analysis
CWE-78 (Improper Neutralization of Special Elements used in an OS Command).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-108387 is a high-severity arbitrary command execution flaw in radare2, a reverse engineering framework widely used in security operations, malware analysis, and CI pipelines. Opening a specially crafted binary file can cause radare2 to execute attacker-controlled commands with the privileges of the process, putting any automated analysis of untrusted files at risk. Leadership should prioritize patching because this directly threatens SOC triage, malware sandboxing, and software supply chain workflows where radare2 processes files from external sources.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h
An out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32_fpu function of libr/arch/p/nds32/nds32-d
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated critical severity (CVSS 9.8), th
OS command injection in radare2-mcp (the Model Context Protocol server that bridges the radare2 reverse-engineering fram
Out-of-bounds Read in GitHub repository radareorg/radare2 prior to 5.7.0. Rated critical severity (CVSS 9.1), this vulne
Out-of-bounds Read in r_bin_ne_get_entrypoints function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated cri
Out-of-bounds read in `r_bin_ne_get_relocs` function in GitHub repository radareorg/radare2 prior to 5.6.8. Rated critic
Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0. Rated high severity (CVSS 8.8), this v
Command injection in radare2's PDB parser (versions <6.1.4) enables arbitrary command execution when analysts process ma
Command injection in radare2 PDB parser (versions before 6.1.4) enables arbitrary OS command execution when users analyz
In radare 2.0.1, a memory corruption vulnerability exists in store_versioninfo_gnu_verdef() and store_versioninfo_gnu_ve
In radare2 2.0.1, an integer exception (negative number leading to an invalid memory access) exists in store_versioninfo
EUVD-2026-117170
NVD
CVE.org
EPSS
GitHub
Exploit-DB