Skip to main content
VulnerabilityPublished Updated

CVE-2026-27204: bytecodealliance wasmtime · Uncontrolled Resource Consumption

Affects bytecodealliance wasmtimeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.9 Medium · fixed in 41.0.4 : update bytecodealliance wasmtime when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 41.0.4, 40.0.4, 36.0.6 +1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade wasmtime to 41.0.4, 40.0.4, 36.0.6 or 24.0.6; bytecodealliance/wasmtime to 24.0.6.

Affected software

ProductAffectedFixed in
bytecodealliancewasmtimeAffected
  • >=41.0.0 <41.0.4
Fixed in
  • 41.0.4
bytecodealliancewasmtimeAffected
  • >=37.0.0 <40.0.4
Fixed in
  • 40.0.4
bytecodealliancewasmtimeAffected
  • >=25.0.0 <36.0.6
Fixed in
  • 36.0.6
bytecodealliancewasmtimeAffected
  • <24.0.6
Fixed in
  • 24.0.6
crates.iobytecodealliance/wasmtimepkg:cargo/bytecodealliance/wasmtimeOther threatsAffected
  • <24.0.6
Fixed in
  • 24.0.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should upgrade all Wasmtime deployments to version 42.0.0 or later, where resource limiting knobs are enabled by default. For environments unable to upgrade immediately, it is critical to manually configure Wasmtime embeddings to enforce strict resource limits on CPU, memory, and file descriptor usage for guest modules. Embedders should audit their Wasmtime configurations to ensure that resource consumption controls are active and properly tuned to their operational requirements. Additionally, restrict execution of untrusted or third-party WebAssembly modules unless absolutely necessary, and implement monitoring to detect abnormal resource usage patterns indicative of exploitation attempts. Employ runtime isolation techniques such as containerization or sandboxing to limit the impact of resource exhaustion on the broader system. Regularly review Wasmtime release notes and security advisories for updates or additional mitigations. Since no workarounds exist without upgrading, prioritizing timely patching is essential.

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 WASI host interfaces are susceptible to guest-controlled resource exhaustion on the host. Wasmtime did not appropriately place limits on resource allocations requested by the guests. This serves as a Denial of Service vector. Wasmtime 24.0.6, 36.0.6, 40.0.4, 41.0.4, and 42.0.0 have all been released with the fix for this issue. These versions do not prevent this issue in their default configuration to avoid breaking preexisting behaviors. All versions of Wasmtime have appropriate knobs to prevent this behavior, and Wasmtime 42.0.0-and-later will have these knobs tuned by default to prevent this issue from happening. There are no known workarounds for this issue without upgrading. Embedders are recommended to upgrade and configure their embeddings as necessary to prevent possibly-malicious guests from triggering this issue.

References

Community reviews

Loading reviews…