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

- Severity: Low 2.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-14T17:49:36.804Z
- Modified: 2026-09-18T20:05:53.723Z
- Weaknesses: CWE-197
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- capstone-engine capstone: < 6.0.0-Alpha9

## References

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

## Sources

- CVE List: [CVE-2026-49263](https://www.cve.org/CVERecord?id=CVE-2026-49263), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-49263](https://nvd.nist.gov/vuln/detail/CVE-2026-49263), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-49263 · Whole record: https://cve.day/CVE-2026-49263.json · Rebuilt by cve.day 2026-11-25T22:59:32.934Z
