All vulnerabilities

crates.io

CVE-2026-140421

Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End

Severity
Low 2.3
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
48.0.9, 49.0.6, 50.0.2
Weakness
CWE-1287
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
CVE Program

Description

Wasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, as it records only that an end is busy. A malicious WebAssembly component can call stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end while a copy is pending, panicking the host via an out-of-bounds type lookup when the host has passed the stream or future between component instances in one store.

From the CVE Program.

Affected software

SoftwareAffected versions
wasmtimecrates.io · osv:crates.io:wasmtime
  • From 46.0.0 before 48.0.9
  • From 49.0.0 before 49.0.6
  • From 50.0.0 before 50.0.2

About wasmtime

Downloads in the last 90 days (crates.io)
14,115,171crates.io, 30 Nov 2026
Total downloads (crates.io)
47,863,744crates.io, 30 Nov 2026

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-140421