Numeric Truncation Error Affecting capstone package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-CAPSTONE-18860294
  • published16 Aug 2026
  • disclosed14 Aug 2026

Introduced: 14 Aug 2026

NewCVE-2026-49263  (opens in a new tab)
CWE-197  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest capstone.

NVD Description

Note: Versions mentioned in the description apply only to the upstream capstone package and not the capstone package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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 Base Scores

version 3.1