5

CVE-2026-54786: Wasmtime: Leak in WASIp1 `fd_renumber` implementation

Analyzed
AliasesUBUNTU-CVE-2026-54786DEBIAN-CVE-2026-54786GHSA-3p27-qvp9-27qf
Published 01-07-2026Last modified 02-07-2026

Vulnerability summary

CVE-2026-54786 is a medium (CVSS 5.0) Uncontrolled Resource Consumption vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v3.1 (NVD)
EPSS score
0.22%
0%100%
Low · -0.15 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-07-2026
    PublishedVulnerability first disclosed.
  2. 02-07-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

Decrease -0.15 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Bytecodealliance1 product
  • wasmtime< 24.0.10 | ≥ 25.0.0, < 36.0.11 | ≥ 37.0.0, < 44.0.3 | ≥ 45.0.0, < 45.0.2
Crates.Io1 product
  • wasmtime-wasi< 24.0.10 | ≥ 25.0.0, < 36.0.11 | ≥ 37.0.0, < 44.0.3 | ≥ 45.0.0, < 45.0.2
Debian1 product
  • rust-wasmtimeAll versions (No fix recorded) | < 36.0.11+dfsg-1
Ubuntu1 product
  • rust-wasmtimeAll versions (No fix recorded)

4 vendors · 4 products

References

18 links
Show all 18 references