All vulnerabilities
CVE-2026-115892GHSA-9pvw-hwfg-92h5RUSTSEC-2026-0378

Wasmtime: Panic lowering a host-created component model stream into a guest that expects a different payload type

bytecodealliance wasmtimerustLibraries & packages
CVSS
5.7Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed in48.0.7Also 49.0.4GitHub
Published23 Oct 2026Updated 23 Oct 2026CVE List

What fixes it

  • 48.0.7wasmtime, rustGitHub
  • 49.0.4wasmtime, rustGitHub
  • 48.0.7wasmtime, crates.ioOSVcargo update -p wasmtime --precise 48.0.7
  • 49.0.4wasmtime, crates.ioOSVcargo update -p wasmtime --precise 49.0.4

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

Description

Summary

Wasmtime may panic when the host lowers a component model stream or future into a guest, if the host created that stream or future with one payload type and the guest expects a different one. This can happen when an embedder creates a stream or future, passes it through a guest, receives it back under a type-erased type such as StreamAny or FutureAny, and then passes it to a guest function with a different payload type.

GHSA-63h4-6cx9-pjfj is a related advisory also fixing issues within this area, and this advisory is being issued for portions of Wasmtime that were not fixed as part of that advisory.

Impact

This affects embedders that do all of the following:

  1. Create streams or futures on the host with StreamReader::new or FutureReader::new
  2. Pass them to guest code and receive them back as StreamAny, FutureAny, Val::Stream/Val::Future, or a typed reader whose payload is one of these.
  3. Pass them on to a guest function whose stream or future payload type differs from the type the host created them with.

A guest can cause the mismatch in step 3 when it controls the types of the functions it exports or of the values it returns. In that case a malicious guest can make the host panic, a denial of service. Embedders that only use statically typed StreamReader<T>/FutureReader<T> with concrete payload types throughout, or that never pass streams or futures they created through a guest and back, are not affected.

Text from GitHub Advisory Database

Affected versions 6

  • wasmtime, rust>= 46.0.0, < 48.0.7GitHub
  • wasmtime, rust>= 49.0.0, < 49.0.4GitHub
  • wasmtimeaffected: >= 46.0.0, < 48.0.7CVE List
  • wasmtimeaffected: >= 49.0.0, < 49.0.4CVE List
  • wasmtime, crates.iofrom 46.0.0, fixed in 48.0.7OSV
  • wasmtime, crates.iofrom 49.0.0, fixed in 49.0.4OSV

References 11