CVE-2026-27572

CVE-2026-27572 is a medium-severity allocation of resources without limits or throttling vulnerability in wasmtime (rust), affecting versions < 24.0.6. It is fixed in 24.0.6, 36.0.6, 40.0.4.

Summary

Workarounds

There are no known workarounds at this time, embedders are encouraged to update to a patched version of Wasmtime.

Resources

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.

The application allocates resources such as memory, threads, or file descriptors based on untrusted input without enforcing a cap. Typical impact: resource exhaustion leading to denial of service.

Affected versions

wasmtime (< 24.0.6) wasmtime (>= 25.0.0, < 36.0.6) wasmtime (>= 37.0.0, < 40.0.4)

Security releases

wasmtime → 24.0.6 (rust) wasmtime → 36.0.6 (rust) wasmtime → 40.0.4 (rust)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

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.

Frequently Asked Questions

  1. What is CVE-2026-27572? CVE-2026-27572 is a medium-severity allocation of resources without limits or throttling vulnerability in wasmtime (rust), affecting versions < 24.0.6. It is fixed in 24.0.6, 36.0.6, 40.0.4. The application allocates resources such as memory, threads, or file descriptors based on untrusted input without enforcing a cap.
  2. Which versions of wasmtime are affected by CVE-2026-27572? wasmtime (rust) versions < 24.0.6 is affected.
  3. Is there a fix for CVE-2026-27572? Yes. CVE-2026-27572 is fixed in 24.0.6, 36.0.6, 40.0.4. Upgrade to this version or later.
  4. Is CVE-2026-27572 exploitable, and should I be worried? Whether CVE-2026-27572 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2026-27572 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2026-27572?
    • Upgrade wasmtime to 24.0.6 or later
    • Upgrade wasmtime to 36.0.6 or later
    • Upgrade wasmtime to 40.0.4 or later

Other vulnerabilities in wasmtime

CVE-2026-44216CVE-2026-35186CVE-2026-34987CVE-2026-35195CVE-2026-34988

Stop the waste.
Protect your environment with Kodem.