{"id":"CVE-2026-140420","aliases":["CVE-2026-140420","RUSTSEC-2026-0566","GHSA-5m8g-xhq4-4h93"],"related":[],"kind":"vulnerability","state":"published","title":"Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"This is an entry in the RustSec database for the Wasmtime security advisory\nlocated at\nhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93\nFor more information see the GitHub-hosted security advisory.","format":"markdown","source":"rustsec"}],"published":"2026-11-16T12:00:00.000Z","modified":"2026-12-01T16:18:20.713Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","score":5.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"36.0.21","status":"affected"},{"type":"semver","version":"36.0.21","status":"unaffected"}],"vendor":"bytecodealliance","product":"wasmtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"37.0.0","fixed":"48.0.9","status":"affected"},{"type":"semver","version":"48.0.9","status":"unaffected"}],"vendor":"bytecodealliance","product":"wasmtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"49.0.0","fixed":"49.0.6","status":"affected"},{"type":"semver","version":"49.0.6","status":"unaffected"}],"vendor":"bytecodealliance","product":"wasmtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"50.0.0","fixed":"50.0.2","status":"affected"},{"type":"semver","version":"50.0.2","status":"unaffected"}],"vendor":"bytecodealliance","product":"wasmtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"36.0.21"},{"type":"semver","introduced":"37.0.0","status":"affected","fixed":"48.0.9"},{"type":"semver","introduced":"49.0.0","status":"affected","fixed":"49.0.6"},{"type":"semver","introduced":"50.0.0","status":"affected","fixed":"50.0.2"}],"ecosystem":"crates.io","package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"rustsec"}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/wasmtime-before-36.0.21-unbounded-host-memory-growth-via-asyncwritestream-empty-writes","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/wasmtime","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0566.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/bytecodealliance/wasmtime/pull/15317","tags":["web"],"sources":["rustsec"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T15:15:50.559Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140420","url":"https://www.cve.org/CVERecord?id=CVE-2026-140420","licence":"CVE Terms of Use","modified":"2026-12-01T15:15:58.655Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0566","url":"https://rustsec.org/advisories/RUSTSEC-2026-0566.html","licence":"CC0-1.0","modified":"2026-12-01T16:11:01.763Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140420","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140420","licence":"Public domain","modified":"2026-12-01T16:18:20.713Z"}],"updatedAt":"2026-12-01T16:37:06.788Z"}