Skip to content

CVE-2026-104855 Wasmtime: Preemption and traps during bulk operations enable breaking internal VM state

LowCVSS 2.0 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

8 packages: 1 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhcl-1/wasm-shim-rhel9(Red Hat connectivity_link 1) All versions No fix listed No fix yet
redhat/tree-sitter(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/virt-firmware-rs(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rust-wasmtime(Ubuntu 26.10) All versions No fix listed No fix yet
crates.io wasmtime(crates.io) >= 46.0.0, < 46.0.2; >= 47.0.0, < 47.0.3 46.0.2, 47.0.3 Fixed
bytecodealliance wasmtime = >= 46.0.0, < 46.0.2; = >= 47.0.0, < 47.0.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
bytecodealliance wasmtime = >= 46.0.0, < 46.0.2 No fix listed
bytecodealliance wasmtime = >= 47.0.0, < 47.0.3 No fix listed
crates.io wasmtime(crates.io) >= 46.0.0, < 46.0.2 46.0.2
crates.io wasmtime(crates.io) >= 47.0.0, < 47.0.3 47.0.3
redhat/rhcl-1/wasm-shim-rhel9(Red Hat:connectivity_link:1) All versions No fix listed
redhat/tree-sitter(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/virt-firmware-rs(Red Hat:enterprise_linux:10) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:24.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.04) All versions No fix listed
ubuntu/rust-wasmtime(Ubuntu:26.10) All versions No fix listed

References