CVE-2026-119135: Panic viewing component model stream or future as the wrong type
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-63h4-6cx9-pjfj 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 panics when the host reads a component model stream as a different Rust item type than it was created with, because the host-to-host read path asserts matching TypeIds instead of returning an error. Guest code can return a host-created StreamReader<U> that the embedder reads as StreamReader<T>, where both types map to the same component model type, crashing the embedding process.
— 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
Who is exposed to this issue?
Applications embedding affected Wasmtime versions are exposed when they use the component model and create or read host-side StreamReader values. The issue requires a guest to return a host-created stream that the embedder then reads using a different Rust item type that maps to the same component model type.
What is the impact if exploitation succeeds?
The embedding process panics, causing a denial of service. The advisory data does not indicate confidentiality or integrity impact.
What conditions are required for exploitation?
An attacker needs the ability to supply or influence guest code and must induce the host to perform the mismatched stream read. Exploitation also requires a user interaction and has high attack complexity according to the supplied vector.
Which versions need updating?
Wasmtime 46.0.0 through versions before 48.0.6 are affected, as are 49.0.0 through versions before 49.0.3. Update to 48.0.6 or later in the 48.x line, or 49.0.3 or later in the 49.x line.