Capstone WASM `br_table` instruction-size truncation can cause no-progress disassembly and parser desynchronization
Published Aug 14, 2026
2.0
LOWCVSS 4.0
EPSS 0.17%
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
-
Affected
- < 6.0.0-Alpha9
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Capstone-Engine | Capstone | unknown | Affected
|
No data.
No data.
Red Hat Enterprise Linux 10
capstone
Fix deferred
Red Hat Enterprise Linux 9
capstone
Fix deferred
Red Hat Hardened Images
capstone
Affected
Red Hat OpenShift Container Platform 4
openshift/ose-rhel-coreos-9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | capstone | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | capstone | Fix deferred | n/a |
| Red Hat Hardened Images | capstone | Affected | n/a |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (7)
- https://access.redhat.com/security/cve/CVE-2026-49263 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2516114 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-58747 Advisory
- https://github.com/capstone-engine/capstone/blob/251c5bb4bc9bb92973e738ae3c5f4ef86f103356/ChangeLog#L102 x_refsource_MISC
- https://github.com/capstone-engine/capstone/security/advisories/GHSA-5m9f-vqcm-g5pr exploitx_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-49263
- https://www.cve.org/CVERecord?id=CVE-2026-49263
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub
No data