CVE-2026-54786 in Bytecodealliance Wasmtime
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 be...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bytecodealliance | Wasmtime | < 24.0.10 ≥ 25.0.0, < 36.0.11 ≥ 37.0.0, < 44.0.3 ≥ 45.0.0, < 45.0.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-54786 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L |
| Published | 2026-07-01 |
| Last modified | 2026-10-25 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-400: Uncontrolled Resource Consumption (DoS)
Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.
CWE-772: CWE-772
Related attack patterns (CAPEC)
CAPEC-147 XML Ping of the Death via CWE-400
CAPEC-469 HTTP DoS via CWE-772
CAPEC-492 Regular Expression Exponential Blowup via CWE-400
CAPEC-227 Sustained Client Engagement via CWE-400
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A unscored severity vulnerability (CVE-2026-54786) affects the target system. 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 f...
Questions
What is CVE-2026-54786?
A unscored severity vulnerability (CVE-2026-54786) affects the target system. 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 f...
What is the CVSS score for CVE-2026-54786?
CVE-2026-54786 has CVSS 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L. EPSS: 0.4%.
Is CVE-2026-54786 actively exploited?
No confirmed active exploitation of CVE-2026-54786 as of 2026-11-02.
How do I remediate CVE-2026-54786?
Apply vendor patches for CVE-2026-54786. Monitor Bytecodealliance advisories.
What systems are affected by CVE-2026-54786?
CVE-2026-54786 affects Bytecodealliance Wasmtime.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Bytecodealliance","product":"Wasmtime","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-25.