Live threats

All CVEs / Bytecodealliance

CVE-2026-27204Bytecodealliance Wasmtime

Medium 6.9

Priority
41
CVSS 4.0
6.9
EPSS
—
Auth required
Yes
Published
Feb 24, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770, CWE-774, CWE-789
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Wasmtime.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
bytecodealliancewasmtime< 24.0.6
bytecodealliancewasmtime≥ 25.0.0 < 36.0.6
bytecodealliancewasmtime≥ 37.0.0 < 40.0.4
bytecodealliancewasmtime≥ 41.0.0 < 41.0.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.