Skip to content

CVE-2026-140421 Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End

LowCVSS 2.3 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Debian

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io wasmtime >= 46.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2 48.0.9, 49.0.6, 50.0.2 Fixed
crates.io wasmtime(crates.io) >= 46.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2 48.0.9, 49.0.6, 50.0.2 Fixed

Affected products

ProductAffected versionsFixed in
crates.io wasmtime >= 46.0.0, < 48.0.9 48.0.9
crates.io wasmtime >= 49.0.0, < 49.0.6 49.0.6
crates.io wasmtime >= 50.0.0, < 50.0.2 50.0.2
crates.io wasmtime(crates.io) >= 46.0.0, < 48.0.9 48.0.9
crates.io wasmtime(crates.io) >= 49.0.0, < 49.0.6 49.0.6
crates.io wasmtime(crates.io) >= 50.0.0, < 50.0.2 50.0.2

References