Skip to main content

Capstone CVE-2026-49282

| EUVDEUVD-2026-58744 MEDIUM
Out-of-bounds Read (CWE-125)
2026-08-14 GitHub_M
5.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Control application input path
  2. Delivery
    Open Capstone handle for M68K or RISCV
  3. Exploit
    Supply out-of-range instruction ID to cs_insn_name()
  4. Execution
    Missing bounds check skipped in backend
  5. Persist
    Out-of-bounds array read
  6. Impact
    Host 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.

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

capstone < 6.0.0-Alpha9

Affected Packages

euvd capstone fix: 6.0.0-Alpha9

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

Vendor (GitHub_M) PRIMARY 5.1 MEDIUM
AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
vuln.today AI 4.0 MEDIUM

Exploitation requires local library API invocation with attacker-controlled IDs; description explicitly confirms no data disclosure, so C:N overrides the provided C:L.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Aug 14, 2026 - 19:01 EUVD

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

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular disassembly library in security and RE tooling
Data Quality
7 sources
Confidence: High

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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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