CVE-2024-51745

CVE-2024-51745 is a low-severity security vulnerability in wasmtime (rust), affecting versions < 24.0.2. It is fixed in 24.0.2, 25.0.3, 26.0.1.

Summary

Workarounds

There are no known workarounds for this issue. Affected Windows users are recommended to upgrade.

References

Impact

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.

Affected versions

wasmtime (< 24.0.2) wasmtime (>= 25.0.0, < 25.0.3) wasmtime (= 26.0.0)

Security releases

wasmtime → 24.0.2 (rust) wasmtime → 25.0.3 (rust) wasmtime → 26.0.1 (rust)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

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.

Frequently Asked Questions

  1. What is CVE-2024-51745? CVE-2024-51745 is a low-severity security vulnerability in wasmtime (rust), affecting versions < 24.0.2. It is fixed in 24.0.2, 25.0.3, 26.0.1.
  2. Which versions of wasmtime are affected by CVE-2024-51745? wasmtime (rust) versions < 24.0.2 is affected.
  3. Is there a fix for CVE-2024-51745? Yes. CVE-2024-51745 is fixed in 24.0.2, 25.0.3, 26.0.1. Upgrade to this version or later.
  4. Is CVE-2024-51745 exploitable, and should I be worried? Whether CVE-2024-51745 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2024-51745 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2024-51745?
    • Upgrade wasmtime to 24.0.2 or later
    • Upgrade wasmtime to 25.0.3 or later
    • Upgrade wasmtime to 26.0.1 or later

Other vulnerabilities in wasmtime

CVE-2026-44216CVE-2026-35186CVE-2026-34987CVE-2026-35195CVE-2026-34988

Stop the waste.
Protect your environment with Kodem.