ADVISORIES

Vulnerability

CVE-2025-64345

Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime's Rust embedder API contains an unsound interaction where a WebAssembly shared linear memory could be viewed as a type which provides safe access to the host (Rust) to the contents of the linear memory. This is not sound for shared linear memories, which could be modified in parallel, and this could lead to a data race in the host. Patch releases have been issued for all supported versions of Wasmtime, notably: 24.0.5, 36.0.3, 37.0.3, and 38.0.4. These releases reject creation of shared memories via `Memory::new` and shared memories are now excluded from core dumps. As a workaround, eembeddings affected by this issue should use `SharedMemory::new` instead of `Memory::new` to create shared memories. Affected embeddings should also disable core dumps if they are unable to upgrade. Note that core dumps are disabled by default but the wasm threads proposal (and shared memory) is enabled by default.

18 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-2fxw-3j94-ch8g
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-33g7-jpwc-94ch
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-642x-g4rq-vc5p
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-6wfj-jc8g-6wrq
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-7254-cfg2-wcfv
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-7wj2-xgvv-686r
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-826p-46c5-mgx6
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-87gw-825p-rrw2
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-9h23-h988-7ggr
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-f2g5-5r2q-cvxc
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-gfwj-p5xg-8x2v
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-m59v-5prv-pv8h
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-vjh3-5hpq-76r7
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • CGA-vp82-f366-rxvf
    CVE-2025-64345 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2025-64345

    Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime's Rust embedder API contains an unsound interaction where a WebAssembly shared linear memory could be viewed as a type…

    CVE-2025-64345 Debian Updated 23 October 2026
  • GHSA-hc7m-r6v8-hg9q

    Wasmtime provides unsound API access to a WebAssembly shared linear memory

    Low CVE-2025-64345 crates.io Updated 10 September 2026
  • RUSTSEC-2025-0118

    Unsound API access to a WebAssembly shared linear memory

    CVE-2025-64345 crates.io Updated 12 October 2026
  • UBUNTU-CVE-2025-64345

    Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime's Rust embedder API contains an unsound interaction where a WebAssembly shared linear memory could be viewed as a type…

    CVE-2025-64345 Ubuntu Updated 17 October 2026

References