Security mailing lists by PureSourceCode

CVE-2026-140420

MEDIUM 6.9CVSS 4.0

Wasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes

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.

Published
1 Dec 2026
Last modified
1 Dec 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-770
Also known as
GHSA-5m8g-xhq4-4h93RUSTSEC-2026-0566
Sources
NVDJSONCVE ListJSONOSV RUSTSEC-2026-0566JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 6.9 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
CVE List VulnCheck CVSS 4.0 MEDIUM 6.9 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
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
CVE List VulnCheck CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List bytecodealliance wasmtime < 36.0.21 36.0.21
CVE List bytecodealliance wasmtime >= 37.0.0, < 48.0.9 48.0.9
CVE List bytecodealliance wasmtime >= 49.0.0, < 49.0.6 49.0.6
CVE List bytecodealliance wasmtime >= 50.0.0, < 50.0.2 50.0.2
OSV crates.io wasmtime >= 0.0.0-0, < 36.0.21; >= 37.0.0, < 48.0.9; >= 49.0.0, < 49.0.6; >= 50.0.0, < 50.0.2 36.0.21, 48.0.9, 49.0.6, 50.0.2

References

History

  • 1 Dec 2026 16:33 UTC · OSV: updated (other details)
  • 1 Dec 2026 16:27 UTC · NVD: updated (other details)
  • 1 Dec 2026 15:31 UTC · NVD: first stored (published 1 Dec 2026)
  • 1 Dec 2026 15:31 UTC · CVE List: updated (other details)
  • 1 Dec 2026 14:38 UTC · CVE List: first stored (published 1 Dec 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.