CVE-2026-27572: medium-severity vulnerability in bytecodealliance wasmtime
Wasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.5%
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.
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
Affected products
bytecodealliance · wasmtimeRelated CVEs — bytecodealliance wasmtime
In the same product, most dangerous first.
CVE-2022-31104MEDIUMMiscompilation of `i8x16.swizzle` and `select` with v128 inputs in WasmtimeEPSS 1.9%CVE-2022-31146MEDIUMUse After Free in WasmtimeEPSS 1.3%CVE-2023-26489CRITICALGuest-controlled out-of-bounds read/write on x86_64 in wasmtimeEPSS 1.3%CVE-2022-24791HIGHUse after free in WasmtimeEPSS 1.2%CVE-2026-115893CRITICALWasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instructionEPSS 1.0%CVE-2022-31169MEDIUMCranelift vulnerable to miscompilation of constant values in division on AArch64EPSS 0.9%
References
https://docs.rs/http/1.4.0/http/header/#limitationshttps://github.com/bytecodealliance/wasmtime/commit/301dc7162cca51def19131019af1187f45901c0ahttps://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.6https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.6https://github.com/bytecodealliance/wasmtime/releases/tag/v40.0.4https://github.com/bytecodealliance/wasmtime/releases/tag/v41.0.4https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264h