Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Bytecodealliance | Wasmtime | < 24.0.6 |
Related Weaknesses (CWE)
References
- https://docs.rs/wasmtime-wasi/latest/wasmtime_wasi/struct.WasiCtxBuilder.html#meProduct
- https://docs.rs/wasmtime/latest/wasmtime/component/struct.ResourceTable.html#metProduct
- https://docs.rs/wasmtime/latest/wasmtime/struct.Store.html#method.set_hostcall_fProduct
- https://docs.wasmtime.dev/security-what-is-considered-a-security-vulnerability.hProduct
- https://github.com/bytecodealliance/wasmtime/issues/11552Issue Tracking
- https://github.com/bytecodealliance/wasmtime/pull/12599Issue TrackingThird Party Advisory
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-Third Party Advisory
FAQ
What is CVE-2026-27204?
CVE-2026-27204 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 exha...
How severe is CVE-2026-27204?
CVE-2026-27204 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-27204?
Check the references section above for vendor advisories and patch information. Affected products include: Bytecodealliance Wasmtime.