Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| bytecodealliancewasmtime |
≥ 50.0.0, < 50.0.2→ 50.0.2 |
50.0.2 |
| crates.iowasmtime |
≥ 0.0.0-0, < 36.0.21→ 36.0.21 ≥ 37.0.0, < 48.0.9→ 48.0.9 ≥ 49.0.0, < 49.0.6→ 49.0.6 ≥ 50.0.0, < 50.0.2→ 50.0.2 |
36.0.21 48.0.9 49.0.6 50.0.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-140420 rust-wasmtime No fixed version in this record
Original description The description as published by the source.
wasmtime-wasi in Wasmtime before 36.0.21, 37.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 allows unbounded host memory growth because AsyncWriteStream queues zero-length writes without charging them against its write budget. A malicious guest can repeatedly call wasi:io/streams output-stream.write with empty lists, exhausting host memory and causing denial of service.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package crates.io
- web github.com
- web github.com