CVE-2026-140420
medium
CVSS v3
5.8
CVSS v4 NEW
6.9
VIR risk
5.8
Description
wasmtime-wasi: Unbounded host memory growth via empty writes to `AsyncWriteStream`
Predictions
Exploit likelihood
68%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| crates.io | wasmtime | >=0.0.0-0,<36.0.21||>=37.0.0,<48.0.9||>=49.0.0,<49.0.6||>=50.0.0,<50.0.2 | 36.0.21 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| bytecodealliance | wasmtime | {"endExcluding":"36.0.21"} | 36.0.21 |
| bytecodealliance | wasmtime | {"startIncluding":"37.0.0","endExcluding":"48.0.9"} | 48.0.9 |
| bytecodealliance | wasmtime | {"startIncluding":"49.0.0","endExcluding":"49.0.6"} | 49.0.6 |
| bytecodealliance | wasmtime | {"startIncluding":"50.0.0","endExcluding":"50.0.2"} | 50.0.2 |
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
CWEs
CWE-770
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.