{"cve":"CVE-2024-51745","nvd":{"published":"2024-11-05T22:15:21.643","modified":"2026-06-17T08:06:14.230","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10.0},"cwes":["CWE-67","CWE-184"],"references":["https://en.wikipedia.org/wiki/ISO/IEC_8859-1","https://github.com/bytecodealliance/cap-std/pull/371","https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8","https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions"],"products":["bytecodealliance:wasmtime"],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-51745","score":0.00836,"percentile":0.57733,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-c2f5-jxjv-2hh8","url":"https://osv.dev/vulnerability/GHSA-c2f5-jxjv-2hh8","summary":"Wasmtime doesn't fully sandbox all the Windows device filenames","modified":"2026-09-10T03:50:20.589969767Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":["<24.0.2"],"fixed":["24.0.2"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=25.0.0 <25.0.3"],"fixed":["25.0.3"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=26.0.0 <26.0.1"],"fixed":["26.0.1"]}]},{"id":"RUSTSEC-2024-0438","url":"https://osv.dev/vulnerability/RUSTSEC-2024-0438","summary":"Wasmtime doesn't fully sandbox all the Windows device filenames","modified":"2026-10-12T18:00:11.502247037Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=0.0.0-0 <24.0.2",">=25.0.0 <25.0.3",">=26.0.0 <26.0.1"],"fixed":["24.0.2","25.0.3","26.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}