CVEfocus › CVE database › CVE-2026-27204

CVE-2026-27204Wasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion

CVSS 6.9 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2026-02-24Updated 2026-02-27Assigner: GitHub_M

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.

CWE-400CWE-770CWE-774CWE-789

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
2Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-wasmtimeFix pendingUBUNTU-CVE-2026-27204
Ubuntu 26.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-27204
Ubuntu 25.10rust-wasmtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-27204
Ubuntu 24.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-27204
Debian 14rust-wasmtimeFixed36.0.6+dfsg-1DEBIAN-CVE-2026-27204
Debian 13rust-wasmtimeFix pendingDEBIAN-CVE-2026-27204
crates.io librarywasmtimeFixed40.0.4RUSTSEC-2026-0020

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.