CVE-2026-140420
JSON

6.9medium

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

Severity
6.9medium CVSS:4.0 by VulnCheck
Published
Last changed
Assigned by
VulnCheck
Also known as
RUSTSEC-2026-0566GHSA-5m8g-xhq4-4h93

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.

Affected

Product or packageVersionsReported by
bytecodealliance wasmtimebefore 36.0.21, from 37.0.0 before 48.0.9, from 49.0.0 before 49.0.6, from 50.0.0 before 50.0.2
Not affected: 36.0.21, 48.0.9, 49.0.6, 50.0.2
CVE List
wasmtime (crates.io)from 0.0.0-0 before 36.0.21, from 37.0.0 before 48.0.9, from 49.0.0 before 49.0.6, from 50.0.0 before 50.0.2RustSec Advisory Database

All scores

VulnCheck5.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

RustSec Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2026-140420 changed 2026-12-01CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0566 changed 2026-12-01CC0-1.0
NVDCVE-2026-140420 changed 2026-12-01Public domain