Vulnerability · Published Oct 2, 2026 · Assigned by GitHub_M
CVE-2026-104855Wasmtime: Preemption and traps during bulk operations enable breaking internal VM state
Low 2.0
In plain English
A low-severity race condition in wasmtime from bytecodealliance. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities).
Official description
Wasmtime is a runtime for WebAssembly. From 46.0.0 until 46.0.2 and 47.0.3, fuel and epoch preemption checks inside bulk operations including memory.copy, table.grow, and array.copy can expose invalid intermediate state when an embedder mutates a Store in Store::epoch_deadline_callback or continues using a Store after cancellation or a trap. A cancelled non-nullable table growth can leave null elements, linear-memory growth during memory.copy can invalidate retained raw pointers, and callback-triggered garbage collection during array.copy can invalidate GC pointers, resulting in a crash, invalid memory access, or GC heap corruption. Embeddings whose callbacks only access the host data in Store<T>, and embeddings that discard a Store after timeout or epoch deadline, are not affected. This issue is fixed in versions 46.0.2 and 47.0.3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:24.04:LTS | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-104855 |
| Ubuntu:26.04:LTS | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-104855 |
| Ubuntu:26.10 | rust-wasmtime | no fix listed | UBUNTU-CVE-2026-104855 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | >= 46.0.0, < 46.0.2>= 47.0.0, < 47.0.3 |
Weakness: CWE-362 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2hw9-mc66-jc2q x_refsource_CONFIRM
- https://github.com/bytecodealliance/wasmtime/pull/14041 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/pull/14043 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/pull/14045 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/3ebfbe5af4927c157d6fcaca42b8dbb6d17b73fb x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/99b0bc39d447317a4102c056081c83a9a84a46e0 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/commit/a3eb27af01ba5a30320a90ea1405059cdfedd353 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.2 x_refsource_MISC
- https://github.com/bytecodealliance/wasmtime/releases/tag/v47.0.3 x_refsource_MISC