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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-02-24T12:00:00.000Z
- Modified: 2026-10-12T18:00:08.826Z
- Also known as: GHSA-852m-cvvp-9p4w, RUSTSEC-2026-0020
- Weaknesses: CWE-400, CWE-770, CWE-774, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- bytecodealliance wasmtime: < 24.0.6; >= 25.0.0, < 36.0.6; >= 37.0.0, < 40.0.4; >= 41.0.0, < 41.0.4; before 24.0.6; from 25.0.0 before 36.0.6; from 37.0.0 before 40.0.4; from 41.0.0 before 41.0.4
- wasmtime (crates.io): before 24.0.6; from 25.0.0 before 36.0.6; from 37.0.0 before 40.0.4; from 0.0.0-0 before 24.0.6; from 41.0.0 before 41.0.4

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L`
- RustSec Advisory Database: CVSS:4.0 `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-9p4w> (third-party-advisory, web)
- <https://github.com/bytecodealliance/wasmtime/issues/11552> (issue-tracking, report, web)
- <https://github.com/bytecodealliance/wasmtime/pull/12599> (issue-tracking, third-party-advisory, web)
- <https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#method.max_random_size> (product, web)
- <https://docs.rs/wasmtime/latest/wasmtime/component/struct.ResourceTable.html#method.set_max_capacity> (product, web)
- <https://docs.rs/wasmtime/latest/wasmtime/struct.Store.html#method.set_hostcall_fuel> (product, web)
- <https://docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.html> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27204> (advisory)
- <https://github.com/bytecodealliance/wasmtime> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0020.html> (advisory, web)
- <https://crates.io/crates/wasmtime> (package)

## Sources

- CVE List: [CVE-2026-27204](https://www.cve.org/CVERecord?id=CVE-2026-27204), CVE Terms of Use, modified 2026-02-27
- GitHub Advisory Database: [GHSA-852m-cvvp-9p4w](https://github.com/advisories/GHSA-852m-cvvp-9p4w), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0020](https://rustsec.org/advisories/RUSTSEC-2026-0020.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-27204](https://nvd.nist.gov/vuln/detail/CVE-2026-27204), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-27204 · Whole record: https://cve.day/CVE-2026-27204.json · Rebuilt by cve.day 2026-11-25T22:59:14.789Z
