Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-119135

Wasmtime 46.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Panic via StreamReader Type Mismatch

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

bytecodealliance wasmtime

Default version status: unaffected

  • 46.0.0 to < 48.0.6affected
  • 48.0.6unaffected
  • 49.0.0 to < 49.0.3affected
  • 49.0.3unaffected
pkg:cargo/wasmtime

References