Skip to main content

Capstone EUVDEUVD-2026-63669

| CVE-2026-55894 MEDIUM
Out-of-bounds Read (CWE-125)
2026-08-20 GitHub_M
6.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply crafted 16-bit SH instruction word
  2. Delivery
    Application calls cs_disasm() or cs_disasm_iter() with SH2A/SH4A+SHFPU mode
  3. Exploit
    sh_disassemble() computes out-of-bounds idx
  4. Execution
    Decode table read exceeds array bounds
  5. Impact
    Segmentation fault crashes host process

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

Exploitation requires the calling application to have initialised a Capstone handle explicitly with CS_ARCH_SH and either CS_MODE_SH2A or CS_MODE_SH4A combined with CS_MODE_SHFPU - this is not the default Capstone configuration, and the vast majority of Capstone integrations target x86, ARM, or MIPS and are entirely unaffected. The attacker must additionally be able to supply arbitrary bytecode to cs_disasm() or cs_disasm_iter(); applications that disassemble only their own trusted binaries are not exposed at runtime. Exploitation is further limited to process crash (denial of service) - the CVE description explicitly rules out code execution and information disclosure, capping the worst-case outcome at termination of the disassembling process. No authentication level applies in the CVSS 4.0 sense (PR:N) because the trust boundary is at the application-library interface, not a network authentication layer.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VA:H, score 6.8) accurately reflects the constrained impact profile: the local attack vector is correct because Capstone is a library, so exploitation requires a calling application to pass attacker-controlled bytecode to cs_disasm() or cs_disasm_iter(), and user interaction (UI:P) represents the application developer's choice to process untrusted input. No KEV listing and no EPSS score were provided in the intelligence data, leaving exploitation probability unquantified beyond the CVE description itself; no public PoC or active exploitation has been identified at time of analysis. The intelligence tags ('RCE', 'Information Disclosure', 'Buffer Overflow') are contradicted by the CVE text, which explicitly states no code execution or information disclosure was demonstrated - defenders should discard those tags and treat this as a denial-of-service issue only. Practical blast radius is narrow: only applications that initialise Capstone with SH2A/SH4A plus SHFPU mode and process externally supplied bytecode are exposed, which is a niche deployment pattern even within Capstone's user base. Overall, this is a low-urgency patch for most organisations, with priority elevated only for teams running SH-architecture binary analysis pipelines on untrusted input.

Exploit ScenarioDerived

An attacker who can supply arbitrary bytecode to an application wrapping Capstone - such as a binary analysis tool, reverse-engineering platform, or automated malware triage system - provides a crafted 16-bit SH instruction word whose decoded idx falls beyond the mode-specific decode[] table boundary. When the application calls cs_disasm() or cs_disasm_iter() with CS_ARCH_SH plus CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU, sh_disassemble() dereferences the out-of-bounds address, the operating system delivers SIGSEGV, and the host process terminates. No public PoC has been identified, but a proof-of-concept test case was added by the reporter in PR #2968, making independent reproduction straightforward from the CVE description alone.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Out-of-bounds read in Capstone's SuperH (SH) architecture disassembler crashes the host process when fed crafted SH2A or SH4A bytecode. Versions 6.0.0-Alpha9 and earlier are affected when the library handle is configured with CS_ARCH_SH plus CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU; the disassembler derives an idx value from a raw 16-bit instruction and dereferences a mode-specific decode[] function-pointer table without a bounds check. The demonstrated impact is limited to process termination - no code execution or information disclosure was shown - and a vendor-released patch is available in 6.0.0-Alpha10.

RemediationAI

Upgrade Capstone to version 6.0.0-Alpha10, which is confirmed by the official release tag and contains the bounds check introduced in commits 09e76802380b9e94d9720c44458d9d5282219e7e and e17ee44a8307ea33375b4727ac4f987650bf7bed, merged via pull requests #2968 and #2969 (https://github.com/capstone-engine/capstone/pull/2968 and https://github.com/capstone-engine/capstone/pull/2969). If an immediate upgrade is not feasible, the primary compensating control is to avoid initialising any Capstone handle with CS_ARCH_SH combined with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU; disabling SH FPU mode removes the vulnerable decode path with no impact on non-SH-FPU workloads. Applications that only disassemble trusted, internally generated bytecode are not exposed in practice even without patching, as the attacker must control the bytecode input.

Affected VersionsENISA

capstone < 6.0.0-Alpha10

Affected Packages

euvd capstone fix: 6.0.0-Alpha10

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 written in C. The flaw resides in arch/SH/SHDisassembler.c within sh_disassemble(), which processes 16-bit SuperH instruction words. The function computes an integer idx directly from the raw instruction encoding and uses it as an index into a statically sized, mode-specific decode[] array of function pointers. CWE-125 (Out-of-bounds Read) is the root cause: no check verified that idx fell within the array's bounds before the dereference, so a crafted instruction word can produce an idx beyond the table end, causing a read of unmapped memory and a segmentation fault. The fix in PR #2968 adds a single guard - if (idx >= ARR_SIZE(decode)) return MCDisassembler_Fail; - immediately before the table access, plus related operand-count bounds checks in the set_reg_n() and set_mem_n() helpers to address a related over-indexing path.

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

Vendor (GitHub_M) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local vector because Capstone is a library requiring a calling application to pass attacker-controlled bytecode; no confidentiality or integrity impact demonstrated; user interaction reflects the application's choice to process untrusted input.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Red Hat 5.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 20, 2026 - 22:04 EUVD

DescriptionCVE.org

Capstone is a disassembly framework. In 6.0.0-Alpha9 and earlier, Capstone's arch/SH/SHDisassembler.c sh_disassemble() function computes an idx value from a raw 16-bit instruction without ensuring it is within the active mode-specific decode[] function-pointer table. An application using CS_ARCH_SH with CS_MODE_SH2A or CS_MODE_SH4A and CS_MODE_SHFPU can pass crafted bytecode through cs_disasm_iter() or cs_disasm(), causing the decode[idx] test to read outside the table and terminate the process with a segmentation fault. No code execution or information disclosure was demonstrated. This issue is fixed in version 6.0.0-Alpha10.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche disassembly library used primarily by security tooling
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy