Description
Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded memory allocation in the wasmtime-wasi WASIp2 write-zeroes method of SinkOutputStream, the default stream used when stdout/stderr are not configured. A malicious WebAssembly guest can request huge zero-filled writes, exhausting host memory and causing denial of service.
Published: 2026-10-22
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via host memory exhaustion
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the wasmtime-wasi write-zeroes operation for the default SinkOutputStream; a malicious WebAssembly guest can request arbitrarily large zero‑filled writes, causing the host to allocate unbounded memory and ultimately crash or become unresponsive. This is a classic unbounded memory allocation flaw.

Affected Systems

Bytecode Alliance Wasmtime versions prior to 36.0.17, prior to 48.0.4 for the 37.x series, and prior to 49.0.2 for the 49.x series are affected. Any deployment that uses these versions and allows guest modules to access the default stdout/stderr sink is vulnerable.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium risk of exploitation. An attacker could embed the vulnerable payload within a WebAssembly module, remotely or locally, depending on how the daemon is exposed. The EPSS score is not available, so current exploitation probability is unknown but the lack of a KEV listing means it is not presently known as a widely used exploit. The weakness (CWE-770) is relatively straightforward to exploit once the malicious module is loaded, but may require the host to be configured to accept unbounded writes.

Generated by OpenCVE AI on October 23, 2026 at 03:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to at least 36.0.17, 48.0.4, or 49.0.2 to eliminate the unbounded allocation flaw
  • If upgrading is not immediately possible, configure the WASI environment to redirect stdout/stderr to a bounded sink rather than the default, thereby preventing unbounded allocation from guest requests
  • Enable host‑level resource quotas or limit the memory and process limits assigned to each WebAssembly guest, and monitor memory usage for sudden spikes that could indicate an attack

Generated by OpenCVE AI on October 23, 2026 at 03:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 contains an unbounded memory allocation in the wasmtime-wasi WASIp2 write-zeroes method of SinkOutputStream, the default stream used when stdout/stderr are not configured. A malicious WebAssembly guest can request huge zero-filled writes, exhausting host memory and causing denial of service.
Title Wasmtime before 36.0.17, 37.0.0 before 48.0.4, and 49.0.0 before 49.0.2 Unbounded Host Memory Allocation via SinkOutputStream write-zeroes
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-770
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 5.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:N'}


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:49.244Z

Reserved: 2026-10-22T11:25:27.610Z

Link: CVE-2026-115381

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-22T19:17:45.070

Modified: 2026-10-22T19:17:45.180

Link: CVE-2026-115381

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T05:00:13Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling