Vulnerability

CVE-2026-49263

lowCVSS 4.0 2.0Published 14 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f…
  • github.com /capstone-engine/capstone/security/advisories/GHSA-5m9f-vqc…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning