CVE-2026-27204Bytecodealliance Wasmtime
Medium 6.9
Follow: this CVE · Bytecodealliance · Bytecodealliance Wasmtime We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 4.0
- 6.9
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 24, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Wasmtime.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmtime |
< 24.0.6 |
24.0.6 |
cargo update -p wasmtime --precise 24.0.6 |
| crates.io | wasmtime |
≥ 25.0.0 < 36.0.6 |
36.0.6 |
cargo update -p wasmtime --precise 36.0.6 |
| crates.io | wasmtime |
≥ 37.0.0 < 40.0.4 |
40.0.4 |
cargo update -p wasmtime --precise 40.0.4 |
| crates.io | wasmtime |
≥ 0.0.0-0 < 24.0.6 |
24.0.6 |
cargo update -p wasmtime --precise 24.0.6 |
| crates.io | wasmtime |
≥ 25.0.0 < 36.0.6 |
36.0.6 |
cargo update -p wasmtime --precise 36.0.6 |
| crates.io | wasmtime |
≥ 37.0.0 < 40.0.4 |
40.0.4 |
cargo update -p wasmtime --precise 40.0.4 |
| crates.io | wasmtime |
≥ 41.0.0 < 41.0.4 |
41.0.4 |
cargo update -p wasmtime --precise 41.0.4 |
Per OSV / GitHub Advisories (GHSA-852m-cvvp-9p4w, RUSTSEC-2026-0020). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | < 24.0.6 |
| bytecodealliance | wasmtime | ≥ 25.0.0 < 36.0.6 |
| bytecodealliance | wasmtime | ≥ 37.0.0 < 40.0.4 |
| bytecodealliance | wasmtime | ≥ 41.0.0 < 41.0.4 |
Official advisories
- zed-1.24.2-1.1 on GA media · SUSE · openSUSE-SU-2026:12355-1 · Oct 29, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.rs Product
- docs.rs Product
- docs.rs Product
- docs.wasmtime.dev Product
- github.com Issue Tracking
- github.com Issue Tracking Third Party Advisory
- github.com Third Party Advisory