Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-140420 — bytecodealliance wasmtime

Medium · CVSS 6.9 First seen December 01, 2026

One of 8 bytecodealliance wasmtime vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.9 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker with a normal user account can exploit this over the network if a user views or visits something, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
yes, a normal user account
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
high on availability, none on confidentiality and integrity

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 · CVSS 3.1 5.8 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Affected and fixed versions

ProductAffected versionsFixed in
bytecodealliance wasmtime< 36.0.2136.0.21
bytecodealliance wasmtime≥ 37.0.0, < 48.0.948.0.9
bytecodealliance wasmtime≥ 49.0.0, < 49.0.649.0.6
bytecodealliance wasmtime≥ 50.0.0, < 50.0.250.0.2

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • bytecodealliance wasmtime

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-140420?

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. Weakness type: Allocation of Resources Without Limits or Throttling (CWE-770).

How severe is CVE-2026-140420?

CVE-2026-140420 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network if a user views or visits something, but only under specific conditions.

Is CVE-2026-140420 being exploited?

Not as far as is known: CVE-2026-140420 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.

Which versions are affected by CVE-2026-140420?

bytecodealliance wasmtime < 36.0.21 (fixed in 36.0.21); bytecodealliance wasmtime ≥ 37.0.0, < 48.0.9 (fixed in 48.0.9); bytecodealliance wasmtime ≥ 49.0.0, < 49.0.6 (fixed in 49.0.6); bytecodealliance wasmtime ≥ 50.0.0, < 50.0.2 (fixed in 50.0.2).

How do I fix CVE-2026-140420?

Update to a fixed release: bytecodealliance wasmtime 36.0.21; bytecodealliance wasmtime 48.0.9; bytecodealliance wasmtime 49.0.6.

Timeline & sources

References