CVE-2026-115381

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

Published Oct 22, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 7:38 PM
Reserved
Oct 22, 2026, 11:25 AM
Status
Deferred
Published
Oct 22, 2026, 7:17 PM
Modified
Oct 26, 2026, 8:17 PM