CVE-2026-140420: Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes
Vulnerability summary
CVE-2026-140420 is a medium (CVSS 6.9) vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.1% of scored vulnerabilities.
Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 01-12-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 3 sources · 2 versions- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · DebianEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST5.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
36%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Bytecodealliance1 product
- wasmtime< 36.0.21 | ≥ 37.0.0, < 48.0.9 | ≥ 49.0.0, < 49.0.6 | ≥ 50.0.0, < 50.0.2
Crates.Io1 product
- wasmtime≥ 50.0.0, < 50.0.2
Debian1 product
- rust-wasmtimeAll versions (No fix recorded) | < 36.0.23+dfsg-1
Ubuntu1 product
- rust-wasmtimeAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- www.vulncheck.com/advisories/…Third Party Advisory
- crates.io/crates/wasmtimePACKAGE