CVE-2026-27204: bytecodealliance wasmtime Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-27204 is a medium (CVSS 6.9) Uncontrolled Resource Consumption vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.67% chance of exploitation in the next 30 days, higher than 51.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 24-02-2026PublishedVulnerability first disclosed.
- 27-02-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · WolfiEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · ChainguardEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- OSV · Crates.ioEcosystem advisory · calculated6.9MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
- NVDNIST6.9MediumCVSS: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
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.67%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
+0.33 pp
From 0.34% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
- CWE-774Allocation of File Descriptors or Handles Without Limits or ThrottlingThe product allocates file descriptors or handles on behalf of an actor without imposing any restrictions on how many descriptors can be allocated, in violation of the intended security policy for that actor.
- CWE-789Memory Allocation with Excessive Size ValueThe product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
Affected systems
Chainguard6 products
- washAll versions (No fix recorded)
- wasmcloud< 2.0.1-r0
- wizer< 10.0.0-r7
- yara-x< 1.13.0-r2
- zed< 0.228.0-r3
Wolfi6 products
- washAll versions (No fix recorded)
- wasmcloud< 2.0.1-r0
- wizer< 10.0.0-r7
- yara-x< 1.13.0-r2
- zed< 0.228.0-r3
Bytecodealliance1 product
- wasmtime< 24.0.6 | ≥ 25.0.0, < 36.0.6 | ≥ 37.0.0, < 40.0.4 | ≥ 41.0.0, < 41.0.4
Crates.Io1 product
- wasmtime< 24.0.6 | ≥ 25.0.0, < 36.0.6 | ≥ 37.0.0, < 40.0.4 | ≥ 41.0.0, < 41.0.4
Debian1 product
- rust-wasmtimeAll versions (No fix recorded) | < 36.0.6+dfsg-1
Ubuntu1 product
- rust-wasmtimeAll versions (No fix recorded)
6 vendors · 16 products
References
15 links- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-9p4wX Refsource CONFIRMREPORTAdvisoryWEBThird Party Advisory
- github.com/bytecodealliance/wasmtime/pull/12599X Refsource MISCREPORTFIXWEBIssue TrackingThird Party Advisory
- docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.htmlX Refsource MISCREPORTWEBProduct
- docs.rs/wasmtime/latest/wasmtime/component/struct.ResourceTable.htmlX Refsource MISCREPORTWEBProduct
- docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.htmlX Refsource MISCREPORTWEBProduct
Show all 15 references
- crates.io/crates/wasmtimePACKAGE