CyberRota Analysis
AI-GeneratedThe vulnerability affects Wasmtime versions 46.0.0 to 46.0.2 and 47.0.3, where improper handling of fuel and epoch preemption during bulk operations can lead to crashes, invalid memory access, or garbage collection heap corruption. This issue arises when an embedder modifies a Store during critical operations, potentially exposing invalid states. Developers and organizations utilizing Wasmtime in their applications should prioritize updating to versions 46.0.2 or 47.0.3 to mitigate these risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.