Numeric Truncation Error Affecting wasmtime package, versions <36.0.19>=37.0.0 <43.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (40th 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-RUST-WASMTIME-21708541
  • published25 Oct 2026
  • disclosed23 Oct 2026
  • creditUnknown

Introduced: 23 Oct 2026

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

How to fix?

Upgrade wasmtime to version 36.0.19, 43.0.0 or higher.

Overview

Affected versions of this package are vulnerable to Numeric Truncation Error in the Cranelift compiler backend's bit-packing process for SSA value indices. An attacker can cause arbitrary miscompilation, type confusion, and potentially escape the WebAssembly sandbox by compiling a sufficiently large or specially crafted Wasm function with many SSA values.

CVSS Base Scores

version 4.0
version 3.1