Description
Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation vulnerability in its WASIp3 implementation that buffers guest-specified-length writes on the host without limit. Malicious guests can offer large buffers to WASIp3 file or HTTP write streams, causing the host to copy and buffer all bytes, bounded only by guest linear memory, exhausting host memory.
Published: 2026-10-22
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service through Memory Exhaustion
Action: Patch Now
AI Analysis

Impact

Wasmtime 46.0.0 through 46.0.2 and 47.0.0 through 47.0.3 contain an uncontrolled resource allocation vulnerability in the WASIp3 implementation. A malicious guest can specify arbitrarily large buffers for write streams, causing the host to copy every byte into an internal buffer that grows only as large as the guest’s linear memory. This can exhaust host RAM, leading to crashes or degraded performance. The weakness is categorized as CWE‑770, Uncontrolled Resource Consumption.

Affected Systems

The affected product is the bytecodealliance Wasmtime runtime. Versions that are vulnerable include 46.0.0, 46.0.1, 46.0.2 and 47.0.0, 47.0.1, 47.0.2, 47.0.3. Later releases such as 46.0.3+ and 47.0.4+ contain the fix.

Risk and Exploitability

The CVSS score of 6.9 places this issue in the Medium severity range. While no EPSS score is available, the vulnerability can be triggered from any guest WebAssembly module that uses WASIp3 write streams, making the attack vector effectively Internet‑accessible for systems that accept untrusted wasm. The lack of KEV listing indicates no known active exploits, but the potential for a denial of service by an attacker who can run malicious wasm remains real.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Wasmtime to a fixed release (46.0.3 or later, or 47.0.4 or later).
  • If an update is not immediately possible, restrict or disable WASIp3 streams for untrusted WebAssembly modules, or enforce strict size limits on guest‑provided buffers.
  • Monitor host memory usage for sudden spikes and configure alerting to detect potential exhaustion caused by malicious wasm streams.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


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

Type Values Removed Values Added
Description Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 contains an uncontrolled resource allocation vulnerability in its WASIp3 implementation that buffers guest-specified-length writes on the host without limit. Malicious guests can offer large buffers to WASIp3 file or HTTP write streams, causing the host to copy and buffer all bytes, bounded only by guest linear memory, exhausting host memory.
Title Wasmtime 46.0.0 before 46.0.3 and 47.0.0 before 47.0.4 Unbounded Heap Allocation via WASIp3 Streams
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': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.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:H'}


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

Reserved: 2026-10-22T11:27:18.001Z

Link: CVE-2026-115391

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-115391

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-22T19:13:57Z

Links: CVE-2026-115391 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:00:11Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling