# CVE-2026-140420: Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-01
- Aliases: RUSTSEC-2026-0566, GHSA-5m8g-xhq4-4h93, DEBIAN-CVE-2026-140420, UBUNTU-CVE-2026-140420
- Record: https://cvemate.com/vulnerability/CVE-2026-140420 · JSON: https://cvemate.com/vulnerability/CVE-2026-140420/json

## Description

```text
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.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- EPSS: 0.398%, percentile 36.101%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- bytecodealliance wasmtime: \< 36.0.21 \| ≥ 37.0.0, \< 48.0.9 \| ≥ 49.0.0, \< 49.0.6 \| ≥ 50.0.0, \< 50.0.2
- Crates.Io wasmtime (Crates.Io): ≥ 50.0.0, \< 50.0.2
- debian rust-wasmtime (Debian): All versions (No fix recorded) \| \< 36.0.23+dfsg-1
- ubuntu rust-wasmtime (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93>
- <https://www.vulncheck.com/advisories/wasmtime-before-36.0.21-unbounded-host-memory-growth-via-asyncwritestream-empty-writes>
- <https://crates.io/crates/wasmtime>
- <https://rustsec.org/advisories/RUSTSEC-2026-0566.html>
- <https://github.com/bytecodealliance/wasmtime/pull/15317>
- <https://security-tracker.debian.org/tracker/CVE-2026-140420>
- <https://ubuntu.com/security/CVE-2026-140420>
- <https://www.cve.org/CVERecord?id=CVE-2026-140420>

---

Data as of 2026-12-05T10:13:06.283Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
