CVE-2026-27572: Wasmtime Package Panic Due to Excessive Fields in wasi:http/types.fields

wasmtime Updated 24 Feb 2026

Summary

24/02/2026
Yes i
Moderate
6.9

CVE-2026-27572: Panic adding excessive fields to a wasi:http/types.fields instance. Affects wasmtime across 4 version ranges.

>= 0.0.0-0, < 24.0.6 >= 25.0.0, < 36.0.6 >= 37.0.0, < 40.0.4 >= 41.0.0, < 41.0.4

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Wasmtime is a popular runtime for WebAssembly that allows developers to run WebAssembly modules in various environments. It provides a secure and efficient way to execute WebAssembly code, making it a valuable tool for developers working with WebAssembly applications. However, like any software, it can have vulnerabilities that may affect its stability and security. This specific vulnerability arises from the handling of excessive fields in a wasi:http/types.fields instance, which can lead to a panic during execution.

Vulnerability Detail

The vulnerability identified as CVE-2026-27572 is a panic that occurs when excessive fields are added to a wasi:http/types.fields instance in the Wasmtime package. This issue can lead to application crashes and unexpected behavior, potentially compromising the stability of applications relying on Wasmtime for WebAssembly execution. The vulnerability is classified with a CVSS score of 6.9, indicating a moderate severity level. It is crucial for developers using Wasmtime to be aware of this issue and take appropriate action to mitigate its impact.

How To Fix

Latest published version: 50.0.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.0.0-0, < 24.0.6 24.0.6
  • >= 25.0.0, < 36.0.6 36.0.6
  • >= 37.0.0, < 40.0.4 40.0.4
  • >= 41.0.0, < 41.0.4 41.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, developers can limit the number of fields added to the wasi:http/types.fields instance to avoid triggering the panic. This may involve implementing validation checks before adding fields to ensure that the count remains within acceptable limits.

Conclusion

In summary, CVE-2026-27572 is a significant vulnerability in the Wasmtime package that can lead to application panics due to excessive fields in a wasi:http/types.fields instance. Developers are advised to update to the patched versions to mitigate this issue and ensure the stability of their applications.

See every vulnerability recorded for wasmtime →

Share this vulnerability

FAQ

CVE-2026-27572 is a vulnerability in the Wasmtime package that causes a panic when excessive fields are added to a wasi:http/types.fields instance.

The vulnerability can lead to application crashes and unexpected behavior, affecting the stability of applications that utilize Wasmtime.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The patched versions of Wasmtime are 24.0.6, 36.0.6, 40.0.4, and 41.0.4.

The CVSS score of this vulnerability is 6.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for wasmtime.

How To Fix

Latest published version: 50.0.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 0.0.0-0, < 24.0.6 24.0.6
  • >= 25.0.0, < 36.0.6 36.0.6
  • >= 37.0.0, < 40.0.4 40.0.4
  • >= 41.0.0, < 41.0.4 41.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback