CVE-2024-51745 in Bytecodealliance Wasmtime
Wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so on, however it did not block access to the special device filenames which use superscript digits, such as "COM¹", "CO...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Bytecodealliance | Wasmtime | 25.0.0 25.0.1 25.0.2 26.0.0 < 24.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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so on, however it did not block access to the special device filenames which use superscript digits, such as "COM¹", "COM²", "LPT⁰", "LPT¹", and so on. Untrusted Wasm programs that are given access to any filesystem directory could bypass the sandbox and access devices through those special device filenames with superscript digits, and through them gain access peripheral devices connected to the computer, or network resources mapped to those devices. This can include modems, printers, network printers, and any other device connected to a serial or parallel port, including emulated USB serial ports. Patch releases for Wasmtime have been issued as 24.0.2, 25.0.3, and 26.0.1. Users of Wasmtime 23.0.x and prior are recommended to upgrade to one of these patched versions. There are no known workarounds for this issue. Affected Windows users are recommended to upgrade.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-51745 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-045918-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Published | 2024-11-05 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-67: CWE-67
CWE-184: CWE-184
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-184
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-184
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-184
CAPEC-85 AJAX Footprinting via CWE-184
CAPEC-120 Double Encoding via CWE-184
Show all 9
CAPEC-6 Argument Injection via CWE-184
CAPEC-15 Command Delimiters via CWE-184
CAPEC-73 User-Controlled Filename via CWE-184
CAPEC-182 Flash Injection via CWE-184
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-51745 affects Wasmtime's filesystem sandbox implementation on Windows by allowing access to special device filenames with superscript digits, which were not previously blocked.
An attacker can exploit this vulnerability by deploying a malicious WebAssembly program that attempts to access special device filenames using superscript digits, potentially leading to unauthorized access or system manipulation.
Questions
What is CVE-2024-51745?
CVE-2024-51745 affects Wasmtime's filesystem sandbox implementation on Windows by allowing access to special device filenames with superscript digits, which were not previously blocked.
What is the CVSS score for CVE-2024-51745?
CVE-2024-51745 has CVSS 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H. EPSS: 1.2%.
Is CVE-2024-51745 actively exploited?
No confirmed active exploitation of CVE-2024-51745 as of 2026-09-25.
How do I remediate CVE-2024-51745?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-51745?
CVE-2024-51745 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-06-17.