CVE-2026-27572 — Vulnerability in wasmtime — CVE Details
Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.79%). Schedule for your next planned update.
Does your project use an affected wasmtime version?
Paste your Cargo.lock to check it for CVE-2026-27572 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
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.
Workarounds
There are no known workarounds at this time, embedders are encouraged to update to a patched version of Wasmtime.
Resources
Advisory Timeline
- First published February 24, 2026 (275 days ago).
- Last revised September 10, 2026 — 197 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p wasmtime --precise 36.0.6
cargo update -p wasmtime --precise 40.0.4
cargo update -p wasmtime --precise 24.0.6
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: crates.io (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-770Allocation of Resources Without LimitsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
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
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264hWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27572ADVISORY
- https://github.com/bytecodealliance/wasmtime/commit/301dc7162cca51def19131019af1187f45901c0aWEB
- https://docs.rs/http/1.4.0/http/header/#limitationsWEB
- https://github.com/bytecodealliance/wasmtimePACKAGE
- https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6WEB
- https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6WEB
- https://github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4WEB
- https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4WEB
- https://rustsec.org/advisories/RUSTSEC-2026-0021.htmlWEB
Frequently Asked Questions
- What is CVE-2026-27572?
- Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2026-27572?
- CVE-2026-27572 affects wasmtime. It has a 0.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27572 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 52.8% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-26489CRITICAL
Guest-controlled out-of-bounds read/write on x86\_64
- CVE-2026-34987CRITICAL
Wasmtime with Winch compiler backend on aarch64 may allow a sandbox-escaping memory access
- CVE-2022-39392HIGH
Bug in Wasmtime implementation of pooling instance allocator
- CVE-2022-39393HIGH
Data leakage between instances in the pooling allocator
- CVE-2022-39393HIGH
Wasmtime may have data leakage between instances in the pooling allocator
- CVE-2026-27204MEDIUM
Guest-controlled resource exhaustion in WASI implementations
- CVE-2026-34944MEDIUM
Wasmtime segfault or unused out-of-sandbox load with `f64x2.splat` operator on x86-64
- CVE-2026-27195MEDIUM
Wasmtime is vulnerable to panic when dropping a `[Typed]Func::call_async` future