cve.bz

CVE-2026-54786 bytecodealliance wasmtime: Uncontrolled Resource Consumption

2.3 lowEPSS 0.4%Fix available

Low (2.3) in bytecodealliance wasmtime. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in wasmtime-wasi 24.0.10, 36.0.11, 44.0.3.

On this page
Wasmtime is a runtime for WebAssembly. All versions prior to 24.0.10; versions 25.0.0 through those before 36.0.11; versions 37.0.0 through those before 44.0.3; and versions 45.0.0 and 45.0.1 contain a native implementation of WASIp1 which suffers from a leak in the fd_renumber function where the file descriptor being renumbered to is not properly closed. Wasmtime's implementation erroneously only updated the table of descriptors for WASIp1 and didn't update the underlying table of descriptors used by the host. This behavior means that while fd_renumber works correctly from a guest's perspective it ends up leaking resources in the host that aren't cleaned up until the corresponding Store is destroyed. In a loop, guests can use fd_renumber to cause hosts to exhaust both resources and file descriptors. This bug only affects the native implementation of WASIp1, meaning that only runtimes which load core wasm modules and expose fd_renumber are affected. Runtimes are additionally only affected if they expose the ability to acquire a file descriptor, such as opening a file. For runtimes that deny access to files they are unaffected. This issue has been fixed in versions 24.0.10, 36.0.11, 44.0.3, and 45.0.2.

Severity

CVSS 4.0

2.3 low
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L

CVSS 3.1

5.0 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 31st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-772 Missing Release of Resource after Effective Lifetime
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54786?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54786?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54786 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
bytecodealliance:wasmtimebefore 24.0.10
bytecodealliance:wasmtimefrom 25.0.0 before 36.0.11
bytecodealliance:wasmtimefrom 37.0.0 before 44.0.3
bytecodealliance:wasmtimefrom 45.0.0 before 45.0.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p27-qvp9-27qfcrates.iowasmtime-wasi<24.0.1024.0.10
GHSA-3p27-qvp9-27qfcrates.iowasmtime-wasi>=45.0.0 <45.0.245.0.2
GHSA-3p27-qvp9-27qfcrates.iowasmtime-wasi>=25.0.0 <36.0.1136.0.11
GHSA-3p27-qvp9-27qfcrates.iowasmtime-wasi>=37.0.0 <44.0.344.0.3
RUSTSEC-2026-0182crates.iowasmtime-wasi>=0.0.0-0 <24.0.10
>=25.0.0 <36.0.11
>=37.0.0 <44.0.3
>=45.0.0 <45.0.2
24.0.10, 36.0.11, 44.0.3, 45.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13rust-wasmtimeno fix listedDEBIAN-CVE-2026-54786
Debian14rust-wasmtime36.0.11+dfsg-1DEBIAN-CVE-2026-54786
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morerust-wasmtimeno fix listedUBUNTU-CVE-2026-54786

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This flaw is rated as Low impact. Wasmtime's WASIp1 implementation can leak file descriptors when renumbering, allowing a malicious guest program to exhaust host resources and cause a Denial of Service. This issue primarily affects Red Hat products that utilize Wasmtime with WASIp1 enabled and allow guest programs to acquire file descriptors.

Red Hat's mitigation

To mitigate this issue, configure Wasmtime environments to deny guest programs the ability to acquire file descriptors, such as preventing file system access. This restriction limits the attack surface by preventing the `fd_renumber` function from leaking host resources. Consult product-specific documentation for instructions on configuring Wasmtime security policies to restrict file access. If the Wasmtime service is reloaded or restarted, ensure the configuration changes persist.

ProductPackageStateAdvisory
Red Hat Connectivity Link 1rhcl-1/wasm-shim-rhel9Fix deferred
Red Hat Enterprise Linux 10virt-firmware-rsFix deferred
Red Hat Hardened ImagesrustNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54786.

Attack patterns (CAPEC)

  • CAPEC-469 HTTP DoS Severity: Low
  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON