CVE-2026-119143: Out-of-bounds zero-length stream writes can panic
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-93g3-36p8-x2gc 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 guest code to trigger a host panic through out-of-bounds zero-length stream operations. Malicious guests can perform zero-length component model stream reads or writes with unvalidated addresses, causing Direct{Source,Destination}::remaining to panic and crash WASIp3 embedders.
— 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?
WASIp3 embedders using Wasmtime are exposed when they run affected versions and execute guest code that can use component model stream operations. The issue can crash the host process rather than only failing the guest execution.
What must an attacker be able to do?
An attacker needs the ability to run a malicious guest that performs zero-length component model stream reads or writes with unvalidated out-of-bounds addresses. Exploitation requires low privileges and user interaction, and has high attack complexity according to the supplied vector.
Which versions should be treated as affected?
Wasmtime 46.0.0 through versions before 48.0.6 are affected, as are 49.0.0 through versions before 49.0.3. Updating to 48.0.6 or 49.0.3, as applicable, addresses the affected version ranges described.
How can I determine whether this is already affecting an environment?
Check the deployed Wasmtime version against the affected ranges and determine whether the application is a WASIp3 embedder that executes untrusted guests using component model streams. A relevant symptom is a host panic originating from DirectSource::remaining or DirectDestination::remaining during zero-length stream operations.