CVE-2026-140420
published medium CVSS 4.0 · 6.9Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bytecodealliance | — | wasmtime0 to < 36.0.21 (affected · semver) · 36.0.21 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| bytecodealliance | — | wasmtime37.0.0 to < 48.0.9 (affected · semver) · 48.0.9 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| bytecodealliance | — | wasmtime49.0.0 to < 49.0.6 (affected · semver) · 49.0.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| bytecodealliance | — | wasmtime50.0.0 to < 50.0.2 (affected · semver) · 50.0.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.8 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bytecodealliance | wasmtime | 0 to < 36.0.21 (affected · semver)36.0.21 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| bytecodealliance | wasmtime | 37.0.0 to < 48.0.9 (affected · semver)48.0.9 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| bytecodealliance | wasmtime | 49.0.0 to < 49.0.6 (affected · semver)49.0.6 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| bytecodealliance | wasmtime | 50.0.0 to < 50.0.2 (affected · semver)50.0.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-770 Allocation of Resources Without Limits or Throttling
References
2- GitHub Security Advisory (GHSA-5m8g-xhq4-4h93) https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93
- VulnCheck Advisory: Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes https://www.vulncheck.com/advisories/wasmtime-before-36.0.21-unbounded-host-memory-growth-via-asyncwritestream-empty-writes
Provider assertions
2VulnCheck · cna
Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dfcb5ea1ac06e72d67cca019631551b67106b8ad5ed7747b7b986eb034376179
- Ingested
- 01 Dec 2026, 15:22:37 UTC
- Source record
- Official CVE record