# CVE-2026-27572: Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance

- 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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-02-24T12:00:00.000Z
- Modified: 2026-10-12T18:00:13.556Z
- Also known as: GHSA-243v-98vx-264h, RUSTSEC-2026-0021
- Weaknesses: CWE-770
- 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 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.

(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:H`
- 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264h> (third-party-advisory, web)
- <https://github.com/bytecodealliance/wasmtime/commit/301dc7162cca51def19131019af1187f45901c0a> (patch, web)
- <https://docs.rs/http/1.4.0/http/header/#limitations> (not-applicable, web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6> (product, release-notes, web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6> (product, release-notes, web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4> (product, release-notes, web)
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27572> (advisory)
- <https://github.com/bytecodealliance/wasmtime> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0021.html> (advisory, web)
- <https://crates.io/crates/wasmtime> (package)

## Sources

- CVE List: [CVE-2026-27572](https://www.cve.org/CVERecord?id=CVE-2026-27572), CVE Terms of Use, modified 2026-02-27
- GitHub Advisory Database: [GHSA-243v-98vx-264h](https://github.com/advisories/GHSA-243v-98vx-264h), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2026-0021](https://rustsec.org/advisories/RUSTSEC-2026-0021.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2026-27572](https://nvd.nist.gov/vuln/detail/CVE-2026-27572), Public domain, modified 2026-06-17

---

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