Skip to main content

Wasmtime EUVDEUVD-2026-140222

| CVE-2026-140421 LOW
Improper Validation of Specified Type of Input (CWE-1287)
2026-12-01 VulnCheck GHSA-8f2c-fmj6-57fp
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Run malicious component in shared store
  2. Delivery
    Await pending stream/future copy
  3. Exploit
    Call cancel on wrong end
  4. Execution
    Mismatched type info used
  5. Impact
    Out-of-bounds type lookup panics host (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Specified type validation
Exploitation Conditions

Exploitation requires an embedder that (1) enables the component-model async feature, (2) instantiates more than one component in the same Store, and (3) has the host pass a stream or future from one component instance to another (e.g. handing a StreamReader from one component's export to another component's import/export). The attacker must run a malicious guest component and act while a stream/future copy is pending, then invoke stream.cancel-write/stream.cancel-read/future.cancel-write/future.cancel-read on the wrong end. Limiting factors: embedders that run a single component instance per store, or that never move streams/futures between instances, experience at most a trap rather than a panic; if both ends belong to the same component the result is an inconsistent/poisoned store rather than a host crash. This non-default cross-instance configuration, reflected in AT:P and AC:H, substantially narrows real-world exposure.

Impact

This is a genuinely low-priority issue, and the signals agree rather than conflict. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N) scores only 2.3, driven entirely by a limited availability impact (VA:L) with no confidentiality or integrity impact and no subsequent-system impact (SC/SI/SA:N) - the worst outcome is a host-process panic, i.e. denial of service, not memory corruption or escape. The SSVC framework corroborates this: Exploitation 'none', Automatable 'no', Technical Impact 'partial', and vuln.today assigns the 'monitor' decision label. No CISA KEV listing and no verified exploit code are present. The one tension worth noting is that the input Tags label this 'Buffer Overflow', which overstates the mechanism: CWE-1287 and the advisory describe a missing type check leading to an out-of-bounds type-index lookup that panics a memory-safe Rust host - a DoS, not a classic overflow with code-execution potential. The AT:P (attack requirement) and AC:H correctly reflect that exploitation only produces a panic under a specific non-default embedding (two components in one store with a host-passed stream/future), so despite the AV:N network vector this is not broadly exploitable. Treat as a routine patch, not an emergency.

Exploit ScenarioDerived

An embedder hosts two WebAssembly component instances in a single Wasmtime Store with the component-model async feature enabled, and passes a stream or future handle from one instance to the other through the host. A malicious guest component waits until a stream/future copy is pending, then calls cancel on the wrong end (e.g. stream.cancel-write on a readable end), causing Wasmtime to use mismatched type information and panic the host via an out-of-bounds type lookup, taking down the host process. The AT:P/AC:H/PR:L vector reflects that the attacker must run guest code and the host must be in this specific cross-instance configuration; no public exploit code is identified.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Wasmtime's component-model async implementation accepts a stream or future cancel on the wrong end while a copy is pending, because it records only that an end is busy rather than the copy's direction. A malicious WebAssembly component can then trigger an out-of-bounds type lookup that panics the host, but only in embedders that enable the async component-model feature, instantiate multiple components in one Store, and pass streams or futures between those instances through the host; single-instance or non-transferring embedders see at most a trap. Fixed releases are 48.0.9, 49.0.6 and 50.0.2, and no public exploit code or active exploitation is identified at time of analysis.

RemediationAI

Upgrade the wasmtime crate to 48.0.9, 49.0.6 or 50.0.2 depending on the branch in use, per the vendor advisory GHSA-xrvr-8678-5wp8; these releases add the missing end-type verification for cancels issued during a pending stream or future copy. Where upgrading is not immediately possible, the exposure can be removed by not enabling the component-model async feature, by running a single component instance per Store, or by avoiding host-mediated passing of StreamReader/FutureReader-style handles between component instances; each of these removes the multi-instance cross-end condition the panic requires, though the same-component case still leaves handles inconsistent and can poison the store, so these are containment measures rather than a complete fix. No vendor-released workaround beyond updating is described in the available sources.

Affected VersionsENISA

wasmtime 49.0.0 <49.0.6
wasmtime 50.0.0 <50.0.2
wasmtime 46.0.0 <48.0.9

Affected Packages

cargo wasmtime fix: 48.0.9, 49.0.6, 50.0.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

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

Technical ContextAI · show details

The flaw lives in Wasmtime's implementation of the WebAssembly Component Model async primitives (stream and future handles) in the Rust wasmtime crate. Per the Component Model specification, stream.cancel-write and future.cancel-write must trap unless handed a writable end, and stream.cancel-read / future.cancel-read must trap unless handed a readable end; Wasmtime enforces this only when no copy is in progress. Once a read or write is waiting, the runtime records that the end is busy but not the direction of the transfer, so a cancel issued on the opposite end is accepted and cancels the pending copy on the other end, delivering that end's pending event. When both ends belong to the same component this leaves handles inconsistent and can poison the store; when the ends belong to different component instances in the same Store, the wrong type information is consulted and the type lookup panics on an out-of-bounds index. This is classified as CWE-1287 (Improper Validation of Specified Type of Input), matching the missing end-type check, and is bounded to a host panic/denial of service rather than memory corruption or code execution, with the exploit path requiring a non-default multi-instance, cross-instance stream/future handoff configuration.

Know when Wasmtime gets its next vulnerability

  • 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 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.1 LOW

Attacker runs guest code so PR:L; the required pending-copy timing and non-default cross-instance embedding make it AC:H; impact is a host panic only, so C:N/I:N/A:L.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Dec 01, 2026 - 16:02 EUVD

DescriptionCVE.org

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 stream.cancel-write, stream.cancel-read, future.cancel-write or future.cancel-read on the wrong end while a copy is pending, panicking the host via an out-of-bounds type lookup when the host has passed the stream or future between component instances in one store.

Threat Intelligence Overview

Prevalence
Medium
popular WebAssembly runtime, but vulnerable async multi-component embedding is uncommon
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

CVE-2026-115893 CRITICAL POC
9.9 Oct 23

Sandbox escape in Wasmtime on aarch64 lets a user-supplied WebAssembly module redirect an oversized br_table branch to a

CVE-2026-115889 CRITICAL POC
9.9 Oct 23

Wasmtime versions before 36.0.19, and the 37.0.0 through 42.x line, can silently miscompile attacker-supplied WebAssembl

CVE-2023-26489 CRITICAL
9.9 Mar 08

wasmtime is a fast and secure runtime for WebAssembly. Rated critical severity (CVSS 9.9), this vulnerability is remotel

CVE-2022-39394 CRITICAL
9.8 Nov 10

Wasmtime is a standalone runtime for WebAssembly. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp

CVE-2022-24791 CRITICAL
9.8 Mar 31

Wasmtime is a standalone JIT-style runtime for WebAssembly, using Cranelift. Rated critical severity (CVSS 9.8), this vu

CVE-2024-30266 MEDIUM POC
5.5 Apr 04

wasmtime is a runtime for WebAssembly. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Pu

CVE-2026-34987 CRITICAL
9.0 Apr 09

Memory sandbox escape in Wasmtime's Winch compiler (versions 25.0.0 to before 36.0.7, 42.0.2, 43.0.1) enables authentica

CVE-2026-34971 CRITICAL
9.0 Apr 09

Arbitrary memory read/write vulnerability in Bytecode Alliance Wasmtime versions 32.0.0 through 36.0.6, 42.0.0-42.0.1, a

CVE-2023-30624 HIGH
8.8 Apr 27

Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

CVE-2022-31146 HIGH
8.8 Jul 21

Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

CVE-2022-39393 HIGH
8.6 Nov 10

Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.6), this vulnerability is remotely exploit

CVE-2026-27572 HIGH
7.5 Feb 24

Wasmtime's HTTP header handling in the wasmtime-wasi-http crate crashes when processing excessive header fields, allowin

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