Skip to main content

Prior to version 6.0.0-Alpha9, Capstone's WebAssembly backend accepts attacker-controlled raw WASM instruction bytes through the public cs_disasm()… (CVE-2026-49263)

0
Medium
Published: 08/14/2026 (08/14/2026, 18:17:00 UTC)
Source: GCVE Database
Product: capstone

Description

Capstone's WebAssembly backend prior to version 6.0.0-Alpha9 improperly handles large br_table instructions in the cs_disasm() and cs_disasm_iter() APIs, causing instruction size wrapping and parser integrity issues. This can lead to repeated decoding of the same instruction or misinterpretation of instruction bytes, affecting availability and parser correctness. The issue is patched in version 6.0.0-Alpha9.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=xenial
Affected versions
=3.0.4-0.1=3.0.4-0.2
Ubuntu:18.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=bionic
Affected versions
=3.0.4-3=3.0.4-5
Ubuntu:20.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=focal
Affected versions
=4.0.1+really+3.0.5-1=4.0.1+really+3.0.5-1build1
Ubuntu:22.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=jammy
Affected versions
=4.0.2-3=4.0.2-3build1=4.0.2-5
Ubuntu:24.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=noble
Affected versions
=4.0.2-5=4.0.2-5ubuntu1=4.0.2-5.1=4.0.2-5.1build1
Ubuntu:26.10more threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=stonking
Affected versions
=5.0.7-2=5.0.9-1
Ubuntu:26.04:LTSmore threats →ghsa
capstone
pkg:deb/ubuntu/capstone?arch=source&distro=resolute
Affected versions
=5.0.6-1=5.0.6-1build1=5.0.7-2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/18/2026, 01:04:20 UTC

Technical Analysis

Capstone is a disassembly framework whose WebAssembly backend, before version 6.0.0-Alpha9, accepts attacker-controlled raw WASM instruction bytes via the public cs_disasm() and cs_disasm_iter() APIs. Specifically, for large but well-formed br_table instructions, the WASM decoder accumulates the immediate length in a wider local variable but returns it through a uint16_t instruction-size path. When the encoded instruction length is exactly 65,536 bytes, the size wraps to zero, causing cs_disasm() to repeatedly decode the same instruction without advancing. For larger lengths, cs_disasm_iter() advances into the middle of the br_table payload and decodes target bytes as subsequent instructions. This results in an availability and parser-integrity issue. The vulnerability is fixed in version 6.0.0-Alpha9.

Potential Impact

The vulnerability can cause the disassembler to enter a loop decoding the same instruction repeatedly or to misinterpret instruction bytes, potentially leading to denial of service or incorrect disassembly output. There is no indication of code execution or privilege escalation. The impact is limited to availability and parser integrity.

Mitigation Recommendations

Upgrade to Capstone version 6.0.0-Alpha9 or later, where this issue is patched. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-49263
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad3f61a2cdf04f656664188

Added to database: 10/17/2026, 22:26:34 UTC

Last enriched: 10/18/2026, 01:04:20 UTC

Last updated: 10/18/2026, 01:04:20 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses