p PatchFirst

CVE-2026-49263

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 2.0 · Low · EPSS 0.2%

Published
Updated

Stack: system

Affected products and versions

  • capstone

    Versions
    • < 6.0.0-Alpha9: Affected

    No fix published

  • capstone Debian:12

    Versions
    • 4.0.2-5
    • 4.0.2-5.1
    • 5.0-1~exp1
    • 5.0.1-1~exp1
    • 5.0.3-1
    • 5.0.5-1
    • 5.0.6-1
    • 5.0.7-1
    • 5.0.7-1~deb13u1
    • 5.0.7-2
    • 5.0.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Debian:13

    Versions
    • 5.0.6-1
    • 5.0.7-1
    • 5.0.7-1~deb13u1
    • 5.0.7-2
    • 5.0.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Debian:14

    Versions
    • 5.0.6-1
    • 5.0.7-1
    • 5.0.7-1~deb13u1
    • 5.0.7-2
    • 5.0.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:16.04:LTS

    Versions
    • 3.0.4-0.1
    • 3.0.4-0.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:18.04:LTS

    Versions
    • 3.0.4-3
    • 3.0.4-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:20.04:LTS

    Versions
    • 4.0.1+really+3.0.5-1
    • 4.0.1+really+3.0.5-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:22.04:LTS

    Versions
    • 4.0.2-3
    • 4.0.2-3build1
    • 4.0.2-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:24.04:LTS

    Versions
    • 4.0.2-5
    • 4.0.2-5ubuntu1
    • 4.0.2-5.1
    • 4.0.2-5.1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:26.10

    Versions
    • 5.0.7-2
    • 5.0.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • capstone Ubuntu:26.04:LTS

    Versions
    • 5.0.6-1
    • 5.0.6-1build1
    • 5.0.7-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →