Wasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Summary
| CVE | CVE-2026-115889 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-23 22:16:58 UTC |
| Updated | 2026-10-23 22:16:58 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.9 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Problem Types: CWE-197 | CWE-843 | CWE-197 CWE-197: Numeric Truncation Error | CWE-843 CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Bytecodealliance | Wasmtime | affected < 36.0.19 | Not specified |
| CNA | Bytecodealliance | Wasmtime | affected >= 37.0.0, < 43.0.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/bytecodealliance/wasmtime/commit/f517bd6e890c7c1291ab9fe05d8c... | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/commit/ba8f7d70caa1825b7f64fa75cd9d... | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/releases/tag/v43.0.0 | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/releases/tag/v36.0.19 | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/pull/14818 | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/security/advisories/GHSA-897f-g5gm-... | [email protected] | github.com | |
| github.com/bytecodealliance/wasmtime/pull/12613 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.