CVE-2026-27204
Wasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion
No exploitation reported by the sources we read.
- Published2026-02-24
- Fixed in41.0.4 · 40.0.4 · 36.0.6 · 24.0.6
- WeaknessCWE-400 · CWE-770 · CWE-774
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-02-2422:16CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 41.0 | ≥ 41.0.0, < 41.0.4 | 41.0.4 | NVD · OSV |
| 40.0 | ≥ 37.0.0, < 40.0.4 | 40.0.4 | NVD · OSV |
| 36.0 | ≥ 25.0.0, < 36.0.6 | 36.0.6 | NVD · OSV |
| 24.0 | < 24.0.6 | 24.0.6 | NVD · OSV |
| 24.0 | ≥ 0.0.0-0, < 24.0.6 | 24.0.6 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- bytecodealliance wasmtimeAffected
- = < 24.0.6no fix stated
- = >= 25.0.0, < 36.0.6no fix stated
- = >= 37.0.0, < 40.0.4no fix stated
- = >= 41.0.0, < 41.0.4no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-02-24
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- rust-wasmtimeUbuntu:26.10all versions · no fixed version listed
- rust-wasmtimeUbuntu:26.04:LTSall versions · no fixed version listed
- rust-wasmtimeUbuntu:25.10all versions · no fixed version listed
- rust-wasmtimeUbuntu:24.04:LTSall versions · no fixed version listed
- rust-wasmtimeDebian:14all versions · fixed in 36.0.6+dfsg-1
- rust-wasmtimeDebian:13all versions · no fixed version listed
- washWolfiall versions · no fixed version listed
- washChainguardall versions · no fixed version listed
11 more package ranges on OSV.dev
Vendor advisories
wasmtime: Wasmtime: Denial of Service via guest-controlled resource exhaustion in WASI host interfaces
rhcl-1/wasm-shim-rhel9 as a component of Red Hat Connectivity Link 1
Fix
- Update Bytecodealliance wasmtime to 41.0.4 · 40.0.4 · 36.0.6 · 24.0.6
- Workaround from the vendor Red Hat Product Security CVE-2026-27204 · 1 productMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
- No fix available, says the vendor Red Hat Product Security CVE-2026-27204 · 1 productFix deferred
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-02-27
- CNACVSS 4.06.9known since 2026-10-23
- NVDCVSS 3.16.5read 2026-10-23
- CNAweakness (CWE)CWE-400, CWE-770, CWE-774, CWE-789known since 2026-10-23
- NVDweakness (CWE)CWE-770read 2026-10-23
- FIRST EPSSEPSS score0.4 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2026-02-24
Identifiers
- CGA-4rjw-3329-g2mcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-56ph-894g-mpgfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-583h-mg4q-4m85same flawChainguard · CC-BY-NC-ND-4.0
- CGA-623v-822j-xppwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-693h-2w3m-ggqpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7j76-jhjf-83j5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-893g-jgw2-3gghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cqhw-p987-2jw2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cv32-mrxm-vgrwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fvjx-87cv-cmvfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xc2q-266c-7rvwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xmjg-8w5q-7jm4same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-8568same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-852m-cvvp-9p4wsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1352same flawJulia Security Advisories · CC-BY-4.0
- RUSTSEC-2026-0020same flawRustSec · CC0-1.0
- openSUSE-SU-2026:12355-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 4.0 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
- Published
- 2026-02-24
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-852m-cvvp-9p4w
Frequently asked questions
What is CVE-2026-27204?
Is CVE-2026-27204 actively exploited?
What is the CVSS score for CVE-2026-27204?
Running wasmtime? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-852m-cvvp-9p4w
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0