SEVERITY NOT PROVIDED

GHSA-5m8g-xhq4-4h93: wasmtime-wasi: Unbounded host memory growth via empty writes to `AsyncWriteStream`

Published 2026-11-16 · Updated 2026-11-19 · Also known as RUSTSEC-2026-0566

Summary

wasmtime-wasi is vulnerable to unbounded host memory growth through empty writes to AsyncWriteStream. Teams using affected wasmtime crate versions should audit and upgrade their dependencies.

Who is affected

The flaw affects crates.io wasmtime across several version lines: introduced at 0.0.0-0 with a fix in 36.0.21, introduced at 37.0.0 with a fix in 48.0.9, introduced at 49.0.0 with a fix in 49.0.6, and introduced at 50.0.0 with a fix in 50.0.2. Deployments that handle WebAssembly workloads using AsyncWriteStream may allow unbounded host memory growth when empty writes are processed. The specific module or input conditions required are not documented beyond empty writes to AsyncWriteStream.

Exploitability

The CVSS vector and base score are not provided, so exploitability metrics cannot be derived from this record. EPSS data is not yet available. CISA Known Exploited Vulnerabilities is no, so there is no documented evidence of active exploitation.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
crates.io wasmtime >= 0.0.0-0, < 36.0.21 36.0.21 cargo update -p wasmtime --precise 36.0.21
crates.io wasmtime >= 37.0.0, < 48.0.9 48.0.9 cargo update -p wasmtime --precise 48.0.9
crates.io wasmtime >= 49.0.0, < 49.0.6 49.0.6 cargo update -p wasmtime --precise 49.0.6
crates.io wasmtime >= 50.0.0, < 50.0.2 50.0.2 cargo update -p wasmtime --precise 50.0.2

FAQ

What is the flaw?

Unbounded host memory growth via empty writes to AsyncWriteStream in wasmtime-wasi.

Is active exploitation documented?

No. CISA Known Exploited Vulnerabilities is listed as no, so active exploitation is not documented.

Which versions contain the fix?

Fixed versions are 36.0.21, 48.0.9, 49.0.6, and 50.0.2 for their respective affected lines.

Original advisory description
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93 For more information see the GitHub-hosted security advisory.

References

Source records: RUSTSEC-2026-0566 (OSV.dev).