CVE-2026-27204 Details
Description
Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.6, 36.0.6, 4.0.04, 41.0.4, and 42.0.0, Wasmtime's implementation of WASI host interfaces are susceptible to guest-controlled resource exhaustion on the host. Wasmtime did not appropriately place limits on resource allocations requested by the guests. This serves as a Denial of Service vector. Wasmtime 24.0.6, 36.0.6, 40.0.4, 41.0.4, and 42.0.0 have all been released with the fix for this issue. These versions do not prevent this issue in their default configuration to avoid breaking preexisting behaviors. All versions of Wasmtime have appropriate knobs to prevent this behavior, and Wasmtime 42.0.0-and-later will have these knobs tuned by default to prevent this issue from happening. There are no known workarounds for this issue without upgrading. Embedders are recommended to upgrade and configure their embeddings as necessary to prevent possibly-malicious guests from triggering this issue.
A vulnerability exists in Wasmtime's implementation of WebAssembly System Interface (WASI) host interfaces, prior to versions 24.0.6, 36.0.6, 40.0.4, 41.0.4, and 42.0.0. The issue arises from a lack of proper limits on resource allocations requested by guest programs, allowing for guest-controlled resource exhaustion on the host. This vulnerability can be exploited to induce denial-of-service conditions, such as allocating excessive amounts of host memory, causing allocation failures that abort the process, degrading host performance by keeping too much memory alive, and in the case of Wasmtime 41.0.0-prior, causing panics from overlarge allocations.
Upgrade to Wasmtime versions 24.0.6, 36.0.6, 40.0.4, 41.0.4, or 42.0.0. After upgrading, configure the Wasmtime embedding to set appropriate limits on resource allocations and hostcall fuels to prevent potential resource exhaustion by guests.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
| CWE-774 | Allocation of File Descriptors or Handles Without Limits or Throttling | [email protected] |
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bytecodealliance wasmtime | < 24.0.6 >= 25.0.0, < 36.0.6 >= 37.0.0, < 40.0.4 >= 41.0.0, < 41.0.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 25, 2026 | Initial Analysis | [email protected] |
| Feb 24, 2026 | New CVE Received | [email protected] |