CVE-2026-54786
Wasmtime: Leak in WASIp1 `fd_renumber` implementation
No exploitation reported by the sources we read.
- Published2026-07-01
- Fixed in45.0.2 · 44.0.3 · 36.0.11 · 24.0.10
- WeaknessCWE-400 · CWE-772
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-07-0121:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 45.0 | ≥ 45.0.0, < 45.0.2 | 45.0.2 | NVD · OSV |
| 44.0 | ≥ 37.0.0, < 44.0.3 | 44.0.3 | NVD · OSV |
| 36.0 | ≥ 25.0.0, < 36.0.11 | 36.0.11 | NVD · OSV |
| 24.0 | < 24.0.10 | 24.0.10 | NVD · OSV |
| 24.0 | ≥ 0.0.0-0, < 24.0.10 | 24.0.10 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- bytecodealliance wasmtimeAffected
- = < 24.0.10no fix stated
- = >= 25.0.0, < 36.0.11no fix stated
- = >= 37.0.0, < 44.0.3no fix stated
- = >= 45.0.0, < 45.0.2no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-07-01
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- kubewarden-policy-serverMinimOSall versions · fixed in 1.37.0-r0and 1 other package
- rust-wasmtimeUbuntu:26.10all versions · no fixed version listed
- rust-wasmtimeUbuntu:26.04:LTSall versions · no fixed version listed
- rust-wasmtimeUbuntu:25.10all versions · no fixed version listed
- rust-wasmtimeUbuntu:24.04:LTSall versions · no fixed version listed
- rust-wasmtimeDebian:14all versions · fixed in 36.0.11+dfsg-1
- rust-wasmtimeDebian:13all versions · no fixed version listed
- wasmtimeMinimOSall versions · fixed in 45.0.2-r0and 2 other packages
Vendor advisories
Wasmtime: Wasmtime: Leak in WASIp1 `fd_renumber` implementation
rhcl-1/wasm-shim-rhel9 as a component of Red Hat Connectivity Link 1 · virt-firmware-rs.src as a component of Red Hat Enterprise Linux 10
Fix
- Update Bytecodealliance wasmtime to 45.0.2 · 44.0.3 · 36.0.11 · 24.0.10
- Workaround from the vendor Red Hat Product Security CVE-2026-54786 · 2 productsTo 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 do…
- No fix available, says the vendor Red Hat Product Security CVE-2026-54786 · 2 productsFix deferred
Advisories and patches
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-07-02
- CNACVSS 4.02.3known since 2026-10-26
- NVDCVSS 3.15read 2026-10-26
- CNAweakness (CWE)CWE-400, CWE-772known since 2026-10-26
- FIRST EPSSEPSS score0.2 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryLow2026-08-26
Identifiers
- EUVD-2026-41136same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3p27-qvp9-27qfsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1367same flawJulia Security Advisories · CC-BY-4.0
- MINI-cx8g-cc87-9wcvsame flawMinimOS · LicenseRef-unstated
- MINI-q5m8-f2cv-pr3jsame flawMinimOS · LicenseRef-unstated
- MINI-w46j-9jc9-7p3msame flawMinimOS · LicenseRef-unstated
- RUSTSEC-2026-0182same flawRustSec · CC0-1.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-07-01
- Last modified
- 2026-10-25
- NVD status
- Analyzed
- GitHub advisory
- GHSA-3p27-qvp9-27qf
Frequently asked questions
What is CVE-2026-54786?
Is CVE-2026-54786 actively exploited?
What is the CVSS score for CVE-2026-54786?
Running Wasmtime? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-115893same productWasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
- CVE-2026-115889same productWasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
- CVE-2026-27572same productWasmtime can panic when adding excessive fields to a `wasi:http/types.fields` instance
- CVE-2026-140415same productWasmtime before 36.0.21 Denial of Service via wasi-http Empty HTTP/2 Body Writes
- CVE-2026-27204same productWasmtime WASI implementations are vulnerable to guest-controlled resource exhaustion
- CVE-2026-119137same productWasmtime 42.0.0 before 48.0.6 and 49.0.0 before 49.0.3 Stack Overflow via Type Registry
- CVE-2026-34941same product
- CVE-2026-140420same productWasmtime before 36.0.21 Unbounded Host Memory Growth via AsyncWriteStream Empty Writes
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3p27-qvp9-27qf
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0