Description
Wasmtime is a runtime for WebAssembly. Prior to 36.0.19 and 43.0.0, the Cranelift compiler backend bit-packs SSA value indices in a way that can silently overflow in release builds when compiling a sufficiently large or specially crafted Wasm function with many SSA values. The overflow can make Cranelift reference incorrect IR values, causing arbitrary miscompilation, type confusion, and other attacker-controlled effects that may escape the Wasm sandbox on any architecture using the default Cranelift backend. This issue is fixed in versions 36.0.19 and 43.0.0.
Published: 2026-10-23
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: Sandbox escape via miscompilation
Action: Apply patch
AI Analysis

Impact

Wasmtime's Cranelift compiler backend bit‑packs SSA value indices in a way that can silently overflow when compiling very large or specially crafted WebAssembly modules. This overflow causes Cranelift to reference incorrect IR values, leading to arbitrary miscompilation, type confusion and other attacker‑controlled effects. The result is that malicious WebAssembly code can escape the sandbox on any architecture that uses the default Cranelift backend.

Affected Systems

All instances of bytecodealliance:wasmtime earlier than versions 36.0.19 and 43.0.0 are affected. The vulnerability applies to any deployment that compiles and executes WebAssembly modules with the Cranelift backend in release builds.

Risk and Exploitability

With a CVSS score of 9.9, the vulnerability is considered critical. The EPSS score is not available and the issue is not listed in CISA KEV, but the nature of the flaw means that any entity capable of providing a WebAssembly module to the runtime can trigger the overflow. The attack requires no user interaction beyond loading a malicious module, making the risk high for public or untrusted WebAssembly execution environments.

Generated by OpenCVE AI on October 23, 2026 at 22:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to at least version 36.0.19 or 43.0.0, which contain the fix for the Cranelift bit‑packing overflow.
  • Confirm that the runtime is using the Cranelift backend; if an alternate backend is in use, still upgrade for consistency and to avoid any unknown interactions.
  • As a temporary measure, validate incoming WebAssembly binaries to ensure they do not contain an overly large number of SSA values, or otherwise limit the module size, while awaiting an upgrade.

Generated by OpenCVE AI on October 23, 2026 at 22:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-897f-g5gm-fmxm Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
History

Fri, 23 Oct 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime

Fri, 23 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description Wasmtime is a runtime for WebAssembly. Prior to 36.0.19 and 43.0.0, the Cranelift compiler backend bit-packs SSA value indices in a way that can silently overflow in release builds when compiling a sufficiently large or specially crafted Wasm function with many SSA values. The overflow can make Cranelift reference incorrect IR values, causing arbitrary miscompilation, type confusion, and other attacker-controlled effects that may escape the Wasm sandbox on any architecture using the default Cranelift backend. This issue is fixed in versions 36.0.19 and 43.0.0.
Title Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Weaknesses CWE-197
CWE-843
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T21:23:27.669Z

Reserved: 2026-10-23T19:37:27.176Z

Link: CVE-2026-115889

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-23T22:16:58.400

Modified: 2026-10-23T22:16:58.550

Link: CVE-2026-115889

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T23:30:17Z

Weaknesses
  • CWE-197

    Numeric Truncation Error

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')