{"schemaVersion":4,"id":"CVE-2026-140420","aliases":["RUSTSEC-2026-0566","GHSA-5m8g-xhq4-4h93","DEBIAN-CVE-2026-140420","UBUNTU-CVE-2026-140420"],"status":"published","duplicateOf":null,"title":"Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes","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.","dates":{"published":"2026-12-01T14:28:39.782Z","modified":"2026-12-01T15:15:58.655Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":6.9,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00398,"percentile":0.36101,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00398,"percentile":0.36101}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00398,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00398,"percentile":0.36101}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 36.0.21","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"36.0.21","endInclusive":false}},{"text":"≥ 37.0.0, < 48.0.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"37.0.0","startInclusive":true,"end":"48.0.9","endInclusive":false}},{"text":"≥ 49.0.0, < 49.0.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"49.0.0","startInclusive":true,"end":"49.0.6","endInclusive":false}},{"text":"≥ 50.0.0, < 50.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"50.0.0","startInclusive":true,"end":"50.0.2","endInclusive":false}}],"versionsText":"< 36.0.21 | ≥ 37.0.0, < 48.0.9 | ≥ 49.0.0, < 49.0.6 | ≥ 50.0.0, < 50.0.2","eol":null,"hubHref":"/vendor/bytecodealliance/wasmtime"},{"vendor":"Crates.Io","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/wasmtime","purlType":"cargo","versions":[{"text":"≥ 50.0.0, < 50.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"50.0.0","startInclusive":true,"end":"50.0.2","endInclusive":false}}],"versionsText":"≥ 50.0.0, < 50.0.2","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-wasmtime","name":"rust-wasmtime","label":"rust-wasmtime","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-wasmtime","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 36.0.23+dfsg-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"36.0.23+dfsg-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 36.0.23+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-wasmtime","name":"rust-wasmtime","label":"rust-wasmtime","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-wasmtime","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93","label":"github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5m8g-xhq4-4h93","hostname":"github.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://www.vulncheck.com/advisories/wasmtime-before-36.0.21-unbounded-host-memory-growth-via-asyncwritestream-empty-writes","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://crates.io/crates/wasmtime","label":"crates.io/crates/wasmtime","hostname":"crates.io","tags":["PACKAGE"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0566.html","label":"rustsec.org/advisories/RUSTSEC-2026-0566.html","hostname":"rustsec.org","tags":["Advisory","REPORT"]},{"url":"https://github.com/bytecodealliance/wasmtime/pull/15317","label":"github.com/bytecodealliance/wasmtime/pull/15317","hostname":"github.com","tags":["WEB","REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-140420","label":"security-tracker.debian.org/tracker/CVE-2026-140420","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-140420","label":"ubuntu.com/security/CVE-2026-140420","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140420","label":"www.cve.org/CVERecord?id=CVE-2026-140420","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-01T14:28:39.782Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-01T15:15:58.655Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,69],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00398,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:15:58.655Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-12-01T15:15:58.655Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-12-01T15:15:58.655Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-12-01T15:15:58.655Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-01T15:15:58.655Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T15:15:50.559Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00398,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:13:06.283Z","stale":false,"partial":false}}