# CVE-2025-64345: Wasmtime provides unsound API access to a WebAssembly shared linear memory

- Priority: **Routine**
- Reason: Not severe (CVSS 1.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-11-12 · Modified: 2025-11-12
- Aliases: UBUNTU-CVE-2025-64345, DEBIAN-CVE-2025-64345, CGA-2fxw-3j94-ch8g, CGA-33g7-jpwc-94ch, CGA-642x-g4rq-vc5p, CGA-6wfj-jc8g-6wrq, CGA-7254-cfg2-wcfv, CGA-7wj2-xgvv-686r, CGA-826p-46c5-mgx6, CGA-87gw-825p-rrw2, CGA-9h23-h988-7ggr, CGA-f2g5-5r2q-cvxc, CGA-gfwj-p5xg-8x2v, CGA-m59v-5prv-pv8h, CGA-vjh3-5hpq-76r7, CGA-vp82-f366-rxvf, GHSA-hc7m-r6v8-hg9q, RUSTSEC-2025-0118
- Record: https://cvemate.com/vulnerability/CVE-2025-64345 · JSON: https://cvemate.com/vulnerability/CVE-2025-64345/json

## Description

```text
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.
```

## Signals

- CVSS: 1.8 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.116%, percentile 1.769%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard wash (Chainguard): All versions (No fix recorded)
- chainguard wasmcloud (Chainguard): \< 1.9.1-r0
- chainguard wizer (Chainguard): \< 10.0.0-r3
- chainguard yara-x (Chainguard): \< 1.9.0-r2
- chainguard zed (Chainguard): \< 0.228.0-r3
- chainguard zellij (Chainguard): \< 0.44.0-r0
- wolfi wash (Wolfi): All versions (No fix recorded)
- wolfi wasmcloud (Wolfi): \< 1.9.1-r0
- wolfi wizer (Wolfi): \< 10.0.0-r3
- wolfi yara-x (Wolfi): \< 1.9.0-r2
- wolfi zed (Wolfi): \< 0.228.0-r3
- wolfi zellij (Wolfi): \< 0.44.0-r0
- bytecodealliance wasmtime: ≥ 38.0.1, \< 38.0.4 \| ≥ 37.0.0, \< 37.0.3 \| ≥ 26.0.0, \< 36.0.3 \| \< 24.0.5
- Crates.Io wasmtime (Crates.Io): ≥ 37.0.0, \< 37.0.3 \| ≥ 26.0.0, \< 36.0.3 \| \< 24.0.5 \| ≥ 38.0.0, \< 38.0.4
- debian rust-wasmtime (Debian): All versions (No fix recorded) \| \< 27.0.0+dfsg-2
- ubuntu rust-wasmtime (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9q>
- <https://github.com/bytecodealliance/wasmtime/commit/9ebb6934f00d58b92fb68ed0e0b16c0ae828ca10>
- <https://docs.rs/wasmtime/latest/wasmtime/struct.Memory.html#method.new>
- <https://docs.rs/wasmtime/latest/wasmtime/struct.SharedMemory.html#method.new>
- <https://docs.wasmtime.dev/stability-release.html>
- <https://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.4>
- <https://ubuntu.com/security/CVE-2025-64345>
- <https://www.cve.org/CVERecord?id=CVE-2025-64345>
- <https://security-tracker.debian.org/tracker/CVE-2025-64345>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64345.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-64345>
- <https://github.com/bytecodealliance/wasmtime>
- <https://rustsec.org/advisories/RUSTSEC-2025-0118.html>
- <https://crates.io/crates/wasmtime>

---

Data as of 2026-12-05T11:27:46.236Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
