Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
2.0
CVE-2026-104855: Wasmtime may crash or corrupt memory during bulk operations
CVE-2026-104855 · published 16 days ago
Summary
Versions of the Wasmtime WebAssembly runtime (up to 46.0.2 and 47.0.3) can encounter crashes, invalid memory access, or data corruption when certain large operations are interrupted or trigger callbacks. This happens if the runtime’s internal checks are triggered while the application modifies or discards the execution context. Upgrade to the latest Wasmtime release to resolve the issue.
What to do
- Update wasmtime-publish wasmtime to version 46.0.2.
- Update wasmtime-publish wasmtime to version 47.0.3.
- Update wasmtime to version 46.0.2.
- Update wasmtime to version 47.0.3.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | bytecodealliance | wasmtime | >= 46.0.0, < 46.0.2 |
| crates.io | wasmtime-publish | wasmtime |
>= 46.0.0, < 46.0.2 >= 47.0.0, < 47.0.3 Fix: upgrade to 46.0.2
|
| crates.io | – | wasmtime |
>= 46.0.0, < 46.0.2 >= 47.0.0, < 47.0.3 Fix: upgrade to 46.0.2
|
Original advisory text
Wasmtime: Preemption and traps during bulk operations enable breaking internal VM state
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.
References
- https://rustsec.org/advisories/RUSTSEC-2026-0223.html URL
- https://github.com/bytecodealliance/wasmtime/pull/14041
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2hw9-mc66-...
- https://github.com/bytecodealliance/wasmtime/pull/14043
- https://github.com/bytecodealliance/wasmtime/pull/14045
- https://github.com/bytecodealliance/wasmtime/commit/3ebfbe5af4927c157d6fcaca42b8...
- https://github.com/bytecodealliance/wasmtime/commit/99b0bc39d447317a4102c056081c...
- https://github.com/bytecodealliance/wasmtime/commit/a3eb27af01ba5a30320a90ea1405...
- https://nvd.nist.gov/vuln/detail/CVE-2026-104855 Vendor Advisory
- https://github.com/bytecodealliance/wasmtime Product
- https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.2
- https://github.com/bytecodealliance/wasmtime/releases/tag/v47.0.3
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-362Race Condition
Timeline
Published2 Oct 2026
Updated15 Oct 2026
First seen2 Oct 2026
Track software like this
Free during beta