CVE-2026-140420 PUBLISHED

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

Assigner: VulnCheck
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 0 to 36.0.21 (excl.)
  • Version 36.0.21 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 37.0.0 to 48.0.9 (excl.)
  • Version 48.0.9 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 49.0.0 to 49.0.6 (excl.)
  • Version 49.0.6 is unaffected
Vendor bytecodealliance
Product wasmtime
Versions Default: unaffected
  • affected from 50.0.0 to 50.0.2 (excl.)
  • Version 50.0.2 is unaffected

References

Problem Types

  • Allocation of Resources Without Limits or Throttling CWE