Wasmtime 46.0.0 before 48.0.9 Panic via Stream/Future Cancel on Wrong End
- CVE-2026-140421
- GHSA-8f2c-fmj6-57fp
- GHSA-xrvr-8678-5wp8
- RUSTSEC-2026-0572
- EUVD-2026-140222
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.
Text from the CVE.org record.
Recommendation
bytecodealliance wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikely
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikely
- If you run a version from 46.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changes
wasmtime
- If you run 50.0.xupdate to 50.0.2 or laterPatch update: breaking changes are unlikelywasmtime 50.0.2 on its registry (opens in a new tab)
- If you run 49.0.xupdate to 49.0.6 or laterPatch update: breaking changes are unlikelywasmtime 49.0.6 on its registry (opens in a new tab)
- If you run a version from 46.0.0 to before 48.0.9update to 48.0.9 or laterMajor version change: expect breaking changeswasmtime 48.0.9 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
bytecodealliance wasmtime
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 46.0.0 to before 48.0.9 48.0.9 wasmtimecrates.io
Affected versions Fixed in from 50.0.0 to before 50.0.2 50.0.2 from 49.0.0 to before 49.0.6 49.0.6 from 46.0.0 to before 48.0.9 48.0.9
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.