Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-54786

LOW 2.3EPSS 23%

Wasmtime: Leak in WASIp1 `fd_renumber` implementation

Also known as GHSA-3p27-qvp9-27qf, RUSTSEC-2026-0182

Mitigation

  • Upgrade wasmtime-wasi to one of 24.0.10, 45.0.2, 36.0.11, 44.0.3 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package wasmtime-wasi (< 24.0.10)
  • Anyone running bytecodealliance wasmtime < 24.0.10; >= 25.0.0, < 36.0.11; >= 37.0.0, < 44.0.3; >= 45.0.0, < 45.0.2

Vulnerability facts

Affected
wasmtime-wasi < 24.0.10
Fixed in
24.0.10, 45.0.2, 36.0.11, 44.0.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
2.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: Low
EPSS
0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
CWE
CWE-772, CWE-400
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io wasmtime-wasi< 24.0.1024.0.10, 45.0.2, 36.0.11, 44.0.3osv
bytecodealliance wasmtime< 24.0.10; >= 25.0.0, < 36.0.11; >= 37.0.0, < 44.0.3; >= 45.0.0, < 45.0.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-54786. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54786.md
Affected: wasmtime-wasi < 24.0.10
Fixed in: 24.0.10, 45.0.2, 36.0.11, 44.0.3

Steps:
1. Search this machine and project for wasmtime-wasi (crates.io), bytecodealliance wasmtime: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-54786 being exploited?

There is no confirmed exploitation: CVE-2026-54786 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-54786?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-54786?

wasmtime-wasi < 24.0.10.

Is there a fix for CVE-2026-54786?

Yes. Fixed in 24.0.10, 45.0.2, 36.0.11, 44.0.3. Upgrade wasmtime-wasi to one of 24.0.10, 45.0.2, 36.0.11, 44.0.3 (or later in the same release line).

How do I check if I'm affected by CVE-2026-54786?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors