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

Home › Vulnerabilities › bytecodealliance

Medium 6.9 8 CVEs Analysis

Wasmtime batch of eight flaws: resource exhaustion and guest-triggered host crashes, fixed in 36.0.21 to 50.0.2

NVD published eight Wasmtime vulnerabilities on 2026-12-01. The most severe, rated MEDIUM, involve unbounded host memory growth through zero-length writes, and the rest are rated LOW and cause host panics or aborts.

What to look into

  • 8 vulnerabilities in bytecodealliance wasmtime: 3 medium, 5 low (CVSS up to 6.9).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-140420 (6.9 medium): 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 w… 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.
  • 0 of 8 can be attacked over the network without logging in.
  • Kinds of flaws: Reachable Assertion (×4); Allocation of Resources Without Limits or Throttling; Uncontrolled Resource Consumption; Out-of-bounds Read.
VulnerabilitiesWeb

Key points

  • Eight Wasmtime CVEs were published together; the highest rating is MEDIUM (CVSS 6.9).
  • CVE-2026-140420, CVE-2026-140415 and CVE-2026-140419 can cause memory exhaustion or host aborts under certain conditions.
  • The remaining LOW-rated records cause guest-triggered panics or aborts when specific features or paths are used.
  • The records name fixed releases 36.0.21, 48.0.9, 49.0.6 and 50.0.2, depending on the branch in use.

What the batch covers

NVD published eight Wasmtime vulnerabilities together on 2026-12-01. The records describe no exploitation. Ratings run from MEDIUM (CVSS 6.9 down to 5.7) to LOW (CVSS 2.1 to 2.3). The flaws fall into three groups: memory exhaustion from empty writes, guest-triggered panics that abort the host, and memory-handling errors that abort the host process.

The most severe records

CVE-2026-140420 (CVSS 6.9) affects wasmtime-wasi. AsyncWriteStream queues zero-length writes without charging them against its write budget, so a malicious guest repeatedly calling output-stream.write with empty lists can exhaust host memory. CVE-2026-140415 (CVSS 6.0) is a related issue in wasmtime-wasi-http, where empty writes to outgoing HTTP/2 bodies are not rejected. According to the record, these frames can bypass flow-control and send-buffer limits, and a slow or stalled peer makes the problem worse. CVE-2026-140419 (CVSS 5.7) involves GC operations such as ref.test that do not set needsgcheap, which can let compiled code reuse a stale null GC heap base pointer. A guest that tests GC references returned by an imported host function can abort the host when memory is low.

Lower-severity crashes

The LOW records describe guest input that panics or aborts the host. These include a missing end-type check when cancelling a pending stream or future copy (CVE-2026-140421), a panicking stub for runtime function subtype checks in builds without the gc feature (CVE-2026-140416), a panic in Caller::getmoduleexport when a host function is called by the embedder (CVE-2026-140417), a GC or linear memory bounds-check fault when memory grows past the assumed bound (CVE-2026-140418), and atomic wait/notify stubs reachable when the threads proposal is enabled in builds without the threads feature (CVE-2026-140414).

Affected versions and fixes

The affected ranges differ by record. The fixed releases named are 36.0.21, 48.0.9, 49.0.6 and 50.0.2. The sources do not give workarounds or detection guidance.

What to do

  1. Identify which Wasmtime release line each deployment uses and compare it against the affected ranges in the records.
  2. Upgrade to the fixed release for that line: 36.0.21, 48.0.9, 49.0.6 or 50.0.2.
  3. Prioritise hosts that run untrusted guest modules or use wasi-http, since the top-rated records involve those paths.
  4. Check whether builds disable the gc or threads Cargo features or enable threads through Config::wasmfeatures, since several records depend on that configuration.

Our article about all 8 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 8 vulnerabilities

  • CVE-2026-140420 6.9 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 b…
  • CVE-2026-140415 6.0 wasmtime-wasi-http 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 does not reject zero-length writes to outgoing HTTP/2 bodies sent via hyper, and these empty DATA frames bypass flow-contro…
  • CVE-2026-140419 5.7 Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needsgcheap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base pointer. A Wasm guest that t…
  • CVE-2026-140421 2.3 Wasmtime 46.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not verify the end type when cancelling a pending stream or future copy, as it records only that an end is busy. A malicious WebAssembly component can call…
  • CVE-2026-140416 2.1 Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the gc Cargo feature, calls a panicking stub builtin from compiled code when checking a function subtype at runtime, and the panic cannot unw…
  • CVE-2026-140417 2.1 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 panics in Caller::getmoduleexport when a host function is invoked by the embedder rather than from WebAssembly, because Caller then refers to a p…
  • CVE-2026-140418 2.1 Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 lets a non-movable GC heap or linear memory whose reservation is not a multiple of the host page size grow past the bound assumed by compiled code, and misclassi…
  • CVE-2026-140414 2.1 Wasmtime 39.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2, when built without the threads cargo feature, allows the WebAssembly threads proposal to be enabled through Config::wasmfeatures, leaving atomic wait/notify run…

Frequently asked questions

How many bytecodealliance wasmtime vulnerabilities were published on December 1, 2026?

8 vulnerabilities: 3 medium, 5 low, with CVSS scores up to 6.9.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-140420 (CVSS 6.9): 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 w…

Original records