CVE-2025-64345
Low · 1.8CVSS
1.8
EPSS
0.1%
Published
Nov 12, 2025
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | wasmtime | 0 | 24.0.5 |
| crates.io | wasmtime | 0.0.0-0 | 24.0.5 |
| crates.io | wasmtime | 26.0.0 | 36.0.3 |
| crates.io | wasmtime | 37.0.0 | 37.0.3 |
| crates.io | wasmtime | 38.0.0 | 38.0.4 |
| Chainguard | wasmcloud | 0 | 1.9.1-r0 |
| Chainguard | wizer | 0 | 10.0.0-r3 |
| Chainguard | yara-x | 0 | 1.9.0-r2 |
| Chainguard | yara-x-compat | 0 | 1.9.0-r2 |
| Chainguard | zellij | 0 | 0.44.0-r0 |
| Chainguard | zellij-bash-completion | 0 | 0.43.1-r1 |
| Chainguard | zellij-fish-completion | 0 | 0.43.1-r1 |
| Chainguard | zellij-zsh-completion | 0 | 0.43.1-r1 |
| Wolfi | wasmcloud | 0 | 1.9.1-r0 |
| Wolfi | wizer | 0 | 10.0.0-r3 |
| Wolfi | yara-x | 0 | 1.9.0-r2 |
| Wolfi | yara-x-compat | 0 | 1.9.0-r2 |
| Wolfi | zellij | 0 | 0.44.0-r0 |
| Wolfi | zellij-bash-completion | 0 | 0.43.1-r1 |
| Wolfi | zellij-fish-completion | 0 | 0.43.1-r1 |
| Wolfi | zellij-zsh-completion | 0 | 0.43.1-r1 |
| cargo | wasmtime | 26.0.0 | 36.0.3 |
| cargo | wasmtime | 37.0.0 | 37.0.3 |
| cargo | wasmtime | 38.0.0 | 38.0.4 |
Related vulnerabilities
- RUSTSEC-2025-0118 Unsound API access to a WebAssembly shared linear memory Same vulnerability
- CVE-2026-44216 Wasmtime is a runtime for WebAssembly. Also affects wasmtime
- RUSTSEC-2026-0114 Panic when allocating a table exceeding the size of the host's address space Also affects wasmtime
- CVE-2026-34988 Wasmtime is a runtime for WebAssembly. Also affects wasmtime
- CVE-2026-35195 Wasmtime is a runtime for WebAssembly. Also affects wasmtime
- CVE-2026-34987 Wasmtime is a runtime for WebAssembly. Also affects wasmtime
- CVE-2026-35186 Wasmtime is a runtime for WebAssembly. Also affects wasmtime
- CVE-2026-34971 Wasmtime is a runtime for WebAssembly. Also affects wasmtime