CVE-2026-140414
LowCVSS 2.2Exploitation Probability (EPSS)
Low risk44th percentile - higher than 44% of all known CVEs
Summary
Wasmtime 39.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the threads cargo feature, allows the WebAssembly threads proposal to be enabled through Config::wasm_features, leaving atomic wait/notify runtime functions as panicking stubs that cannot unwind from compiled code. A guest module can execute memory.atomic.notify, memory.atomic.wait32, or memory.atomic.wait64 to abort the host process.
Risk Assessment
A malicious WebAssembly guest can abort the host process, causing denial of service. This affects builds without the threads feature.
Recommendation
Update Wasmtime to version 48.0.9, 49.0.6, or 50.0.2 (or later). If updating is not possible, limit execution of untrusted WebAssembly modules or avoid enabling the threads proposal without the threads feature.
Other vulnerabilities in Wasmtime
See all- CVE-2026-115893Critical
Wasmtime prior to 36.0.19, 48.0.7, and 49.0.4 has a flaw in the Cranelift compiler on aarch64. A br_table instruction with more than ~256,000 targets can be miscompiled, allowing a jump to arbitrary code and sandbox escape.
- CVE-2026-115889Critical
Wasmtime prior to 36.0.19 and 43.0.0 has a flaw in the Cranelift compiler where SSA value indices can silently overflow when compiling large Wasm functions. This can cause miscompilation, type confusion, and sandbox escape.
- CVE-2026-115384Critical
Wasmtime 39.0.0 before 48.0.4 and 49.0.0 before 49.0.2 contains a stack buffer overflow that allows malicious guests to write ~16KB to the native stack via unvalidated async callback result types. Attackers can supply components with mistyped component-model-async callback functions to overwrite return addresses, crashing the host or escaping the sandbox.
- CVE-2026-34987Critical
A vulnerability in the Wasmtime WebAssembly runtime affects its Winch (baseline) non-default compiler backend. It may allow properly constructed guest Wasm to access host memory outside of its linear-memory sandbox. Exploitation requires the Winch compiler (-Ccompiler=winch); the default Cranelift backend is not affected.
- CVE-2026-145026High
The wasmtime-wasi crate in Wasmtime before 36.0.22, 37.x through 48.x before 48.0.10, 49.x before 49.0.7, and 50.x before 50.0.3 on Windows mis-resolves drive-prefixed path components such as ./C:foo as drive-relative host paths, escaping the WASI filesystem sandbox. A guest with any preopened directory can use path-taking WASI functions or symlink targets to read, or with write access modify or delete, any file the host process can access.
- CVE-2026-140421Low
Wasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, recording only that an end is busy. A malicious WebAssembly component can call stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end, panicking the host via an out-of-bounds type lookup.
- CVE-2026-140420Medium
wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.
- CVE-2026-140419Medium
Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that tests or downcasts GC references returned by an imported host function can trigger loads in low host memory, aborting the host process.
- CVE-2026-140418Low
Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 lets a non-movable GC heap or linear memory whose reservation is not a multiple of the host page size grow past the bound assumed by compiled code, and misclassifies the resulting bounds-check fault, aborting the process.
- CVE-2026-140417Low
Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 panics in Caller::get_module_export when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a placeholder instance with no module. A malicious core WebAssembly module can import a host function that uses this API and re-export it to the embedder, crashing the host when the embedder calls it.
Original NVD description (English source)
Wasmtime 39.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the threads cargo feature, allows the WebAssembly threads proposal to be enabled through Config::wasm_features, leaving atomic wait/notify runtime functions as panicking stubs that cannot unwind from compiled code. A guest module can execute memory.atomic.notify, memory.atomic.wait32, or memory.atomic.wait64 to abort the host process.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

