GHSA-5m8g-xhq4-4h93: wasmtime-wasi: Unbounded host memory growth via empty writes to `AsyncWriteStream`
Published 2026-11-16 · Updated 2026-11-19 · Also known as RUSTSEC-2026-0566
Summary
wasmtime-wasi is vulnerable to unbounded host memory growth through empty writes to AsyncWriteStream. Teams using affected wasmtime crate versions should audit and upgrade their dependencies.
Who is affected
The flaw affects crates.io wasmtime across several version lines: introduced at 0.0.0-0 with a fix in 36.0.21, introduced at 37.0.0 with a fix in 48.0.9, introduced at 49.0.0 with a fix in 49.0.6, and introduced at 50.0.0 with a fix in 50.0.2. Deployments that handle WebAssembly workloads using AsyncWriteStream may allow unbounded host memory growth when empty writes are processed. The specific module or input conditions required are not documented beyond empty writes to AsyncWriteStream.
Exploitability
The CVSS vector and base score are not provided, so exploitability metrics cannot be derived from this record. EPSS data is not yet available. CISA Known Exploited Vulnerabilities is no, so there is no documented evidence of active exploitation.
Remediation
- Upgrade crates.io wasmtime to 36.0.21 if running versions from the 0.0.0-0 introduction line.
- Upgrade to 48.0.9, 49.0.6, or 50.0.2 depending on the affected version line in use.
How to check your project
- Inspect Cargo.toml and Cargo.lock for the wasmtime crate version and check whether it falls within any affected introduction range before the corresponding fixed version.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | wasmtime |
>= 0.0.0-0, < 36.0.21 | 36.0.21 | cargo update -p wasmtime --precise 36.0.21 |
| crates.io | wasmtime |
>= 37.0.0, < 48.0.9 | 48.0.9 | cargo update -p wasmtime --precise 48.0.9 |
| crates.io | wasmtime |
>= 49.0.0, < 49.0.6 | 49.0.6 | cargo update -p wasmtime --precise 49.0.6 |
| crates.io | wasmtime |
>= 50.0.0, < 50.0.2 | 50.0.2 | cargo update -p wasmtime --precise 50.0.2 |
FAQ
What is the flaw?
Unbounded host memory growth via empty writes to AsyncWriteStream in wasmtime-wasi.
Is active exploitation documented?
No. CISA Known Exploited Vulnerabilities is listed as no, so active exploitation is not documented.
Which versions contain the fix?
Fixed versions are 36.0.21, 48.0.9, 49.0.6, and 50.0.2 for their respective affected lines.
Original advisory description
References
- PACKAGE https://crates.io/crates/wasmtime
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0566.html
- WEB https://github.com/bytecodealliance/wasmtime/pull/15317
Source records: RUSTSEC-2026-0566 (OSV.dev).