CVEfocus › CVE database › CVE-2026-27572

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

CVSS 6.9 MediumEPSS 0.8% (higher than 53% of CVEs)Published 2026-02-24Updated 2026-02-27Assigner: GitHub_M

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.

CWE-770

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
2Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10rust-wasmtimeFix pendingUBUNTU-CVE-2026-27572
Ubuntu 26.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-27572
Ubuntu 25.10rust-wasmtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-27572
Ubuntu 24.04rust-wasmtimeUnder investigationUBUNTU-CVE-2026-27572
Debian 14rust-wasmtimeFixed36.0.6+dfsg-1DEBIAN-CVE-2026-27572
Debian 13rust-wasmtimeFix pendingDEBIAN-CVE-2026-27572
crates.io librarywasmtimeFixed40.0.4RUSTSEC-2026-0021

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.