CVE-2026-104855
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, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wasmtimecrates.io | >= 46.0.0, < 46.0.2 | 46.0.2 |
wasmtimecrates.io | >= 47.0.0, < 47.0.3 | 47.0.3 |
Affected products
1- Range: 46.0.0 to 46.0.2, 47.0.3
Patches
Vulnerability mechanics
References
12- github.com/advisories/GHSA-2hw9-mc66-jc2qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-104855ghsaADVISORY
- github.com/bytecodealliance/wasmtime/commit/3ebfbe5af4927c157d6fcaca42b8dbb6d17b73fbnvdWEB
- github.com/bytecodealliance/wasmtime/commit/99b0bc39d447317a4102c056081c83a9a84a46e0nvdWEB
- github.com/bytecodealliance/wasmtime/commit/a3eb27af01ba5a30320a90ea1405059cdfedd353nvdWEB
- github.com/bytecodealliance/wasmtime/pull/14041nvdWEB
- github.com/bytecodealliance/wasmtime/pull/14043nvdWEB
- github.com/bytecodealliance/wasmtime/pull/14045nvdWEB
- github.com/bytecodealliance/wasmtime/releases/tag/v46.0.2nvdWEB
- github.com/bytecodealliance/wasmtime/releases/tag/v47.0.3nvdWEB
- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2hw9-mc66-jc2qnvdWEB
- rustsec.org/advisories/RUSTSEC-2026-0223.htmlghsaWEB
News mentions
0No linked articles in our index yet.