Skip to main content

Wasmtime EUVDEUVD-2026-108306

| CVE-2026-115381 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-10-22 disclosure@vulncheck.com GHSA-m3j5-9cx2-7c68
5.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Load malicious WebAssembly guest in embedder
  2. Exploit
    Guest calls WASIp2 write-zeroes on SinkOutputStream
  3. Execution
    Request enormous zero-fill allocation
  4. Impact
    Host memory exhausted, denial of service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the Wasmtime embedding does NOT configure stdout/stderr streams, which leaves the default SinkOutputStream in place - this is the exact precondition stated by the vendor. The attacker must be able to run a malicious WebAssembly guest in the host, which then calls the WASIp2 write-zeroes method requesting a very large zero-filled write. What LIMITS exploitation: embeddings that explicitly configure stdout/stderr are not affected because configured streams enforce their own check-write limits that cap the allocation; only the unconfigured-stdio case is vulnerable. Impact is limited to availability (host memory exhaustion / DoS) with no confidentiality or integrity effect. The related GHSA-852m-cvvp-9p4w fix was incomplete specifically for SinkOutputStream, which previously had no size limit.

Impact

This is a CWE-770 unbounded memory allocation leading to host denial of service in the Wasmtime WebAssembly runtime, and the signals consistently point to a moderate, conditional risk rather than an urgent emergency. The vendor CVSS 4.0 score is 5.9 (medium), with VA:H as the only impact (no confidentiality or integrity effect) and AT:P signaling that a specific attack requirement must hold - namely that the embedding does not configure stdout/stderr, so the default SinkOutputStream is in use. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium severity. There is no CISA KEV listing and no EPSS score was supplied, and no public exploit is identified in the input, so there is no evidence of active or widespread exploitation. The references include the Bytecode Alliance GHSA advisory and a VulnCheck advisory but neither is presented as working exploit code. The key limiting factor is confirmed by the vendor: the bug only affects embeddings that do not configure stdout/stderr streams; configured streams carry their own check-write limits that prevent the oversized allocation. Net assessment: a real but bounded availability issue most relevant to Wasmtime embedders running untrusted guests with default/unconfigured stdio, worth patching on a normal monthly cadence rather than treating as a drop-everything priority.

Exploit ScenarioDerived

An application embeds Wasmtime and runs untrusted WebAssembly guests without configuring stdout/stderr, so the default SinkOutputStream is used. A malicious guest invokes the WASIp2 write-zeroes method requesting a huge zero-filled write; the host allocates an unbounded buffer, exhausting memory and crashing or hanging the host process. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 22, 2026

Host memory exhaustion (denial of service) in the Wasmtime WebAssembly runtime: a malicious WebAssembly guest can drive the WASIp2 write-zeroes method on the wasmtime-wasi SinkOutputStream into an unbounded host allocation, consuming available memory on the embedding host. Only embeddings that do not configure stdout/stderr streams are exposed, since unconfigured stdio falls back to SinkOutputStream, whose check-write limit was previously unlimited; embeddings with explicitly configured streams enforce their own limits and are not affected. The assessed vector (AV:N/AC:H/PR:L/UI:N, availability-only impact) supports a moderate, conditional risk, and no public exploit code was identified at time of analysis, though the flaw is a partial-fix bypass of an earlier advisory (GHSA-852m-cvvp-9p4w).

RemediationAI

Vendor-released patches fix this in Wasmtime 36.0.17, 48.0.4, and 49.0.2 - upgrade to the fixed release on whichever branch you track (36.x, 48.x, or 49.x), per the advisory at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gqmc-89g8-p25r. If an immediate upgrade is not possible, the vendor-documented workaround is to provide a custom implementation of OutputStream that returns a bounded value from check_write, which restores the allocation cap for embeddings that otherwise rely on the default SinkOutputStream; the trade-off is that you must maintain that custom stream implementation, and it only protects embeddings that actually install it in their WasiCtx. Note that version 36.0.17 is the only fix listed for the pre-37 line, so older 36.x or earlier releases require moving to that patch level or later.

Affected VersionsENISA

wasmtime 37.0.0 <48.0.4
wasmtime 0 <36.0.17
wasmtime 49.0.0 <49.0.2

Affected Packages

cargo wasmtime-wasi fix: 36.0.17, 48.0.4, 49.0.2
euvd wasmtime fix: 36.0.17, 48.0.4, 49.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in cargo, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Wasmtime is a Bytecode Alliance WebAssembly runtime, and the wasmtime-wasi crate supplies WASIp2 (Preview 2) system interfaces to guests. This issue is a CWE-770 (Allocation of Resources Without Limits or Throttling) bug in the WASIp2 implementation of the write-zeroes method on SinkOutputStream, the stream type used by default when a WasiCtx is created without configured stdout/stderr - effectively a guest that never actually prints to the host. The write-zeroes path built a buffer of zeros for the requested write without capping its size, so a guest-supplied length translated directly into host memory allocation. The vendor states this is a follow-on to GHSA-852m-cvvp-9p4w: fixes from that advisory were meant to bound host allocations to the check-write limit, but SinkOutputStream was left with no limit, so the earlier remediation was incomplete for this specific stream. Exploitation therefore depends on the embedding's configuration - an unconfigured-stdio WasiCtx is vulnerable, a configured one enforces its own check-write limits and is not - and the resulting impact is confined to availability (host memory exhaustion) with no confidentiality or integrity effect.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 5.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

AC:H and PR:L because exploitation needs a non-default unconfigured-stdio embedding plus the ability to run a guest; impact is availability-only (A:H), no C/I effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 22, 2026 - 20:18 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WebAssembly runtime, but embedded in specific host applications
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy