CVE-2026-104855 Wasmtime: Preemption and traps during bulk operations enable breaking internal VM state
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2hw9-mc66-jc2q vendor-advisory
- https://github.com/bytecodealliance/wasmtime/pull/14041 patch
- https://github.com/bytecodealliance/wasmtime/pull/14043 patch
- https://github.com/bytecodealliance/wasmtime/pull/14045 patch
- https://github.com/bytecodealliance/wasmtime/commit/3ebfbe5af4927c157d6fcaca42b8dbb6d17b73fb patch
- https://github.com/bytecodealliance/wasmtime/commit/99b0bc39d447317a4102c056081c83a9a84a46e0 patch
- https://github.com/bytecodealliance/wasmtime/commit/a3eb27af01ba5a30320a90ea1405059cdfedd353 patch
- https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.2
- https://github.com/bytecodealliance/wasmtime/releases/tag/v47.0.3
- Debian Security Tracker CVE-2026-104855 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2545305 issue-tracking
- www.cve.org
- github.com
- Ubuntu CVE tracker vendor-advisory
- ENISA EUVD EUVD-2026-91765 third-party-advisory