Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl application input path
-
DeliveryOpen Capstone handle for M68K or RISCV
-
ExploitSupply out-of-range instruction ID to cs_insn_name()
-
ExecutionMissing bounds check skipped in backend
-
PersistOut-of-bounds array read
-
ImpactHost process crash (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Two specific conditions must both be true: first, the Capstone library handle must be initialized for either the M68K or the RISCV architecture - handles opened for any other supported architecture are not affected because their backends perform adequate bounds validation. Second, the calling application must forward an attacker-influenced integer value to cs_insn_name() without first validating it against the valid instruction ID range for the active architecture. What limits exploitation is that most production uses of Capstone operate on internally-generated instruction IDs produced by the disassembly engine itself (which are always valid), rather than exposing raw ID lookup to external input. Authentication requirements are not determinable from CVSS alone given the AV:L/PR:N combination, which reflects library API access rather than a traditional remote network endpoint. |
| Impact | Real-world risk is moderate-low and lower than the tags 'RCE' and 'Information Disclosure' attached to the input data imply - those labels overstate demonstrated impact, which is confined to process crash. The CVSS 5.1 score with AV:L/AC:L/PR:N/UI:N/S:U accurately reflects a locally-triggered library API flaw with limited scope. No EPSS data was provided in the intelligence feed, so exploitation probability cannot be quantified precisely, but the absence of KEV listing and the absence of any reported POC suggest this is a theoretical rather than actively-abused finding. The practical attack surface is narrow: exploitation requires the calling application to (a) open a Capstone handle for M68K or RISCV, and (b) expose instruction-name lookup to attacker-controlled IDs without its own input validation - a combination uncommon in most production embeddings of Capstone. The confidentiality signal in the provided CVSS vector (C:L) is not corroborated by the description, which explicitly states no data disclosure was demonstrated; this inconsistency should be noted when feeding into risk-scoring pipelines. Overall, this is a targeted library hardening fix relevant to developers and packagers of Capstone-based tools, not an emergency for most operations teams. |
| Exploit ScenarioDerived | An attacker controls input to an application - such as a disassembler UI, a fuzzing harness, or a scripting language binding - that opens a Capstone handle for M68K or RISCV and passes user-supplied integer IDs to cs_insn_name() without validation. By supplying an out-of-range instruction ID, the attacker causes the backend to index beyond the instruction-name table, triggering an out-of-bounds read and crashing the host process. No public proof-of-concept has been identified, but the attack is straightforward to reproduce given the description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Out-of-bounds read in Capstone's cs_insn_name() public API crashes host processes when the M68K or RISCV architecture backends receive caller-controlled invalid instruction IDs that bypass missing or incomplete bounds checks. Affected are all Capstone deployments prior to 6.0.0-Alpha9 where those two architecture handles are in use and instruction ID input is not sanitized by the calling application. The demonstrated impact is strictly a denial-of-service crash; no code execution or data exfiltration was shown, and no public exploit or active exploitation has been identified at time of analysis.
RemediationAI
Upgrade to Capstone 6.0.0-Alpha9, which patches the missing bounds checks in both the M68K and RISCV backends per the vendor advisory at https://github.com/capstone-engine/capstone/security/advisories/GHSA-jrw4-wj52-2vw8. For applications unable to upgrade immediately, the effective compensating control is to validate instruction IDs against architecture-specific valid ranges in the calling code before passing them to cs_insn_name(), rejecting any ID outside the known maximum for the active architecture. Alternatively, restrict Capstone handle creation to trusted, internally-generated instruction IDs rather than any caller-supplied value. Applications that do not use M68K or RISCV architecture handles are not affected and require no action beyond this audit. Note that the 6.0.0-Alpha9 release is an alpha; operators with stability requirements should assess whether a pre-release is acceptable or whether the calling-code validation workaround better suits production environments.
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
Capstone (cpe:2.3:a:capstone-engine:capstone:*:*:*:*:*:*:*:*) is a multi-architecture disassembly framework widely used in security tooling, reverse-engineering platforms, and language bindings. The vulnerability is classified CWE-125 (Out-of-Bounds Read): the public cs_insn_name() API forwards a caller-supplied integer instruction ID directly into architecture-specific backend dispatch logic. While most backends validate the ID before indexing their instruction-name string tables, the M68K and RISCV backends lack sufficient bounds enforcement, allowing an out-of-range index to read memory beyond the array boundary. The crash results from the invalid memory access rather than any memory-corruption write primitive, which is why no code execution path was demonstrated. The fix in 6.0.0-Alpha9 adds the missing validation in both backends.
Know when Capstone 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
AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Exploitation requires local library API invocation with attacker-controlled IDs; description explicitly confirms no data disclosure, so C:N overrides the provided C:L.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9, Capstone's public cs_insn_name() API forwards caller-supplied instruction IDs directly to the selected architecture backend. Most backends validate the ID before indexing instruction-name tables, but the M68K and RISCV backends have missing or incomplete bounds checks. On a Capstone handle opened for M68K or RISCV, a caller-controlled invalid instruction ID can trigger an out-of-bounds read and crash the process. The demonstrated impact is availability loss in applications or bindings that expose instruction-name lookup to untrusted IDs. No code execution or data disclosure was demonstrated. Version 6.0.0-Alpha9 patches the issue.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Heap-based buffer overflow in the Capstone disassembly framework's skip-data path lets a malformed input corrupt memory
Out-of-bounds read/write in the Capstone disassembly engine's SStream string-formatting path can be triggered when the i
Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to
Heap buffer overflow in Capstone's SuperH (SH) architecture floating-point disassembler affects all releases through 6.0
Out-of-bounds read in Capstone's SuperH (SH) architecture disassembler crashes the host process when fed crafted SH2A or
Capstone disassembly framework package in Alpine Linux has been patched at version 5.0.8-r0, addressing an unspecified v
Same weakness CWE-125 – Out-of-bounds Read
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Micro 5.5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Micro 6.0 | Affected |
| SUSE Linux Micro 6.1 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| openSUSE Leap Micro 5.5 | Affected |
EUVD-2026-58744
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB