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)
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
Affected software
pkg:deb/ubuntu/capstone?arch=source&distro=xenialpkg:deb/ubuntu/capstone?arch=source&distro=bionicpkg:deb/ubuntu/capstone?arch=source&distro=focalpkg:deb/ubuntu/capstone?arch=source&distro=jammypkg:deb/ubuntu/capstone?arch=source&distro=noblepkg:deb/ubuntu/capstone?arch=source&distro=stonkingpkg:deb/ubuntu/capstone?arch=source&distro=resoluteRun 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.