CVE-2026-119138: Panic when pending calls are run after a trap
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hmwq-g22x-qjw5 For more information see the GitHub-hosted security advisory.
Other sources
Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a denial of service vulnerability that allows pending calls to trigger an assertion failure after a trap poisons the Store. Attackers supplying misbehaving guest code can cause a trap and let earlier calls proceed, crashing embedders that continue using the inconsistent Store.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 48.0.6 - Upgrade
Upgrade
rust/wasmtimeto a version that resolves this vulnerability.Fixed in 49.0.3
Event History
Frequently Asked Questions
Which deployments are exposed to this denial of service?
Embedders using Wasmtime 46.0.0 before 48.0.6, or Wasmtime 49.0.0 before 49.0.3, may be affected if they execute attacker-supplied misbehaving guest code and continue using a Store after it has been poisoned by a trap.
What must an attacker be able to do to trigger the crash?
The attacker needs to supply guest code that causes a trap. Earlier pending calls must then be allowed to proceed against the inconsistent Store, triggering an assertion failure and crashing the embedder.
How can I determine whether my application is affected?
Check the Wasmtime version in use and whether your application accepts untrusted guest code. Applications that continue running pending calls after a guest trap while reusing the affected Store are the relevant exposure case.
What versions address the issue?
The affected ranges are Wasmtime 46.0.0 through versions before 48.0.6, and 49.0.0 through versions before 49.0.3. Updating to 48.0.6 or later in the 48 release line, or 49.0.3 or later in the 49 release line, addresses the affected version ranges.