cvelo
P3 · MediumCVSS 5.8EPSS 0.4%

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

  • CVE-2026-140420
  • GHSA-5m8g-xhq4-4h93
  • GHSA-65jx-qh3r-c8m8
  • RUSTSEC-2026-0566
  • EUVD-2026-140223

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.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • bytecodealliance wasmtime

    Affected versionsFixed in
    from 50.0.0 to before 50.0.250.0.2
    from 49.0.0 to before 49.0.649.0.6
    from 37.0.0 to before 48.0.948.0.9
    before 36.0.2136.0.21
  • wasmtimecrates.io

    Affected versionsFixed in
    from 50.0.0 to before 50.0.250.0.2
    from 49.0.0 to before 49.0.649.0.6
    from 37.0.0 to before 48.0.948.0.9
    from 0.0.0-0 to before 36.0.2136.0.21

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.