CVE-2026-27572
Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance
Also known as GHSA-243v-98vx-264h, RUSTSEC-2026-0021
Mitigation
- Upgrade wasmtime to one of 24.0.6, 36.0.6, 40.0.4, 41.0.4 (or later in the same release line).
Who should check
- Projects that depend on crates.io package wasmtime (< 24.0.6)
- Anyone running bytecodealliance wasmtime < 24.0.6; >= 25.0.0, < 36.0.6; >= 37.0.0, < 40.0.4; >= 41.0.0, < 41.0.4
Vulnerability facts
- Affected
- wasmtime < 24.0.6
- Fixed in
- 24.0.6, 36.0.6, 40.0.4, 41.0.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: High
- EPSS
- 0.79% chance of exploitation in 30 days (percentile 53, 2026-11-26)
- CWE
- CWE-770
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io wasmtime | < 24.0.6 | 24.0.6, 36.0.6, 40.0.4, 41.0.4 | osv |
| bytecodealliance wasmtime | < 24.0.6; >= 25.0.0, < 36.0.6; >= 37.0.0, < 40.0.4; >= 41.0.0, < 41.0.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-27572. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-27572.md Affected: wasmtime < 24.0.6 Fixed in: 24.0.6, 36.0.6, 40.0.4, 41.0.4 Steps: 1. Search this machine and project for wasmtime (crates.io), bytecodealliance wasmtime: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://docs.rs/http/1.4.0/http/header/#limitations
- https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6
- https://github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4
- https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4
- https://github.com/bytecodealliance/wasmtime
- https://crates.io/crates/wasmtime
FAQ
Is CVE-2026-27572 being exploited?
There is no confirmed exploitation: CVE-2026-27572 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.79% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-27572?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-27572?
wasmtime < 24.0.6.
Is there a fix for CVE-2026-27572?
Yes. Fixed in 24.0.6, 36.0.6, 40.0.4, 41.0.4. Upgrade wasmtime to one of 24.0.6, 36.0.6, 40.0.4, 41.0.4 (or later in the same release line).
How do I check if I'm affected by CVE-2026-27572?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.