{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-27572","id":"CVE-2026-27572","title":"Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance","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 condit","descriptionLong":"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.","published":"2026-02-24T21:31:50.186Z","updated":"2026-10-28T02:30:24.157334690Z","reserved":"2026-02-20T17:40:28.448Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.9,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["bytecodealliance wasmtime"],"affectedProducts":[{"vendor":"bytecodealliance","product":"wasmtime","defaultStatus":null,"versions":[{"version":"< 24.0.6","status":"affected"},{"version":">= 25.0.0, < 36.0.6","status":"affected"},{"version":">= 37.0.0, < 40.0.4","status":"affected"},{"version":">= 41.0.0, < 41.0.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":["<24.0.6",">=25.0.0 <36.0.6",">=37.0.0 <40.0.4",">=0.0.0-0 <24.0.6",">=41.0.0 <41.0.4"],"fixed":["24.0.6","36.0.6","40.0.4","41.0.4"],"advisory":"GHSA-243v-98vx-264h"}],"cwes":["CWE-770"],"aliases":["GHSA-243v-98vx-264h","RUSTSEC-2026-0021"],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264h","tags":["x_refsource_CONFIRM","Third Party Advisory","advisory","web"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/301dc7162cca51def19131019af1187f45901c0a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://docs.rs/http/1.4.0/http/header/#limitations","tags":["x_refsource_MISC","Not Applicable","web"]},{"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27572.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27572","tags":["advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0021.html","tags":["web","advisory"]},{"url":"https://crates.io/crates/wasmtime","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00519,"epssPercentile":0.44839,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-27572","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27572","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-27572","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-243v-98vx-264h","ok":true,"note":"GHSA-243v-98vx-264h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-27572","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}