CVE-2026-119137: Stack overflow dropping a long chain of recursive types
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wjc8-633q-pwxr For more information see the GitHub-hosted security advisory.
Other sources
Wasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 contains a stack overflow vulnerability that allows guests to crash the host through recursive type drops. Guests can define a long chain of recursive types so that removing the top-level type triggers unbounded recursive drops, exhausting the host stack.
— 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 - Upgrade
Upgrade
Wasmtimeto a version that resolves this vulnerability.Fixed in 48.0.6 - Upgrade
Upgrade
Wasmtimeto a version that resolves this vulnerability.Fixed in 49.0.3
Event History
Frequently Asked Questions
Which Wasmtime versions are affected?
Affected releases are Wasmtime 42.0.0 through 48.0.5 and 49.0.0 through 49.0.2. Versions 48.0.6 and 49.0.3 are not listed as affected.
What access does an attacker need to trigger the issue?
An attacker needs to supply or execute a Wasmtime guest that can define a long chain of recursive types. No authentication or user interaction is indicated by the provided severity vector.
What is the practical impact for a host running an affected version?
A malicious guest can exhaust the host stack while recursive types are being dropped, causing the host to crash. The provided data indicates an availability impact, not a confidentiality or integrity impact.