CVE-2026-140414: Wasmtime 39.0.0 before 48.0.9 Host Abort via Atomic Wait/Notify Instructions
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::wasmfeatures, 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 48.0.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 49.0.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 50.0.2
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using Wasmtime versions 39.0.0 through before 48.0.9, 49.0.0 through before 49.0.6, or 50.0.0 through before 50.0.2 are affected only when Wasmtime was built without the threads cargo feature and the WebAssembly threads proposal is enabled through Config::wasm_features.
What must an attacker-controlled guest do to trigger the issue?
A guest module must be able to execute memory.atomic.notify, memory.atomic.wait32, or memory.atomic.wait64. Executing one of these instructions can invoke a panicking runtime stub and abort the host process.
Is a default build configuration affected?
The issue requires a build without the threads cargo feature and an explicit enablement of the WebAssembly threads proposal through Config::wasm_features. The provided information does not establish that this feature is enabled by default.
What is the practical impact?
The impact is host-process termination, resulting in an availability disruption. The supplied severity vector indicates no confidentiality or integrity impact.