CVE-2026-27572: bytecodealliance wasmtime · Unthrottled Resource Allocation
Affects bytecodealliance wasmtimeSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium · fixed in 41.0.4 : update bytecodealliance wasmtime when convenient.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 41.0.4, 40.0.4, 36.0.6 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade wasmtime to 41.0.4, 40.0.4, 36.0.6 or 24.0.6; bytecodealliance/wasmtime to 24.0.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| bytecodealliancewasmtime | Affected
| Fixed in
|
| bytecodealliancewasmtime | Affected
| Fixed in
|
| bytecodealliancewasmtime | Affected
| Fixed in
|
| bytecodealliancewasmtime | Affected
| Fixed in
|
crates.iobytecodealliance/wasmtimepkg:cargo/bytecodealliance/wasmtimeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2026-27572, organizations should promptly update Wasmtime to one of the patched versions: 24.0.6, 36.0.6, 40.0.4, 41.0.4, or later releases. This update replaces the panic with a controlled trap, preventing runtime crashes. Embedders should audit their use of Wasmtime, especially where untrusted input is processed via WASI HTTP interfaces, and ensure that input validation or rate limiting is applied to HTTP header fields before passing them to Wasmtime. Implementing application-level throttling or limits on the number of HTTP headers accepted can reduce the risk of triggering resource exhaustion. Monitoring Wasmtime logs and application health metrics for unexpected panics or crashes can help detect exploitation attempts. Additionally, consider isolating Wasmtime execution environments to limit the blast radius of potential DoS attacks. Since no workarounds exist, patching remains the most effective defense. Finally, maintain awareness of Wasmtime updates and security advisories to respond quickly to future vulnerabilities.
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 the `wasi:http/types.fields` resource is susceptible to panics when too many fields are added to the set of headers. Wasmtime's implementation in the `wasmtime-wasi-http` crate is backed by a data structure which panics when it reaches excessive capacity and this condition was not handled gracefully in Wasmtime. Panicking in a WASI implementation is a Denial of Service vector for embedders and is treated as a security vulnerability in Wasmtime. Wasmtime 24.0.6, 36.0.6, 40.0.4, 41.0.4, and 42.0.0 patch this vulnerability and return a trap to the guest instead of panicking. There are no known workarounds at this time. Embedders are encouraged to update to a patched version of Wasmtime.
References
- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264h (opens in a new tab)
- github.com/bytecodealliance/wasmtime/commit/301dc7162cca51def19131019af1187f45901c0a (opens in a new tab)
- docs.rs/http/1.4.0/http/header/ (opens in a new tab)
- github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6 (opens in a new tab)
- github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6 (opens in a new tab)
- github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4 (opens in a new tab)
- github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4 (opens in a new tab)