CVE-2026-27204
published medium CVSS 4.0 · 6.9Wasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| bytecodealliance | — | wasmtime< 24.0.6 · >= 25.0.0, < 36.0.6 · >= 37.0.0, < 40.0.4 · >= 41.0.0, < 41.0.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | zedaarch64 | Advisory build | 1.24.2-1.1 | OPENSUSE-SU-2026:12355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | zedppc64le | Advisory build | 1.24.2-1.1 | OPENSUSE-SU-2026:12355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | zeds390x | Advisory build | 1.24.2-1.1 | OPENSUSE-SU-2026:12355-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | zedx86_64 | Advisory build | 1.24.2-1.1 | OPENSUSE-SU-2026:12355-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| bytecodealliance | wasmtime | < 24.0.6 (affected)>= 25.0.0, < 36.0.6 (affected)>= 37.0.0, < 40.0.4 (affected)>= 41.0.0, < 41.0.4 (affected) | GitHub_M · cna |
Weaknesses
4- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-774 CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
7- https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#method.max_random_size
- https://docs.rs/wasmtime/latest/wasmtime/component/struct.ResourceTable.html#method.set_max_capacity
- https://docs.rs/wasmtime/latest/wasmtime/struct.Store.html#method.set_hostcall_fuel
- https://docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.html
- https://github.com/bytecodealliance/wasmtime/issues/11552
- https://github.com/bytecodealliance/wasmtime/pull/12599
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-9p4w
Provider assertions
2GitHub_M · cna
Wasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f041ee31b83cf25c9a5760003abb9c6580e2a71a3edb97bc5c741329c7eb05bd
- Ingested
- 23 Sep 2026, 09:07:24 UTC
- Source record
- Official CVE record