CVE-2026-49263

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

No CVSS.

Configurations

No configuration.

History

17 Aug 2026, 20:16

Type Values Removed Values Added
References () https://github.com/capstone-engine/capstone/security/advisories/GHSA-5m9f-vqcm-g5pr - () https://github.com/capstone-engine/capstone/security/advisories/GHSA-5m9f-vqcm-g5pr -

14 Aug 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-14 18:17

Updated : 2026-09-18 20:05


NVD link : CVE-2026-49263

Mitre link : CVE-2026-49263

CVE.ORG link : CVE-2026-49263


JSON object : View

Products Affected

No product.

CWE
CWE-197

Numeric Truncation Error