JLSEC-2026-2451: Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 panics when the host reads a component...
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.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
What conditions are required for exploitation?
An attacker needs guest code to return a host-created StreamReader<U>, and the embedder must then read it as StreamReader<T>. The two Rust item types must map to the same component model type, and the mismatched host-to-host read triggers a panic.
What is the practical impact on an affected embedding application?
The embedding process can crash, resulting in a denial of service. The provided data does not describe confidentiality or integrity impact.
Which Wasmtime release lines are affected?
The affected ranges are Wasmtime 46.0.0 through versions before 48.0.6, and 49.0.0 through versions before 49.0.3.