CVE-2025-64345: Wasmtime provides unsound API access to a WebAssembly shared linear memory
Vulnerability summary
CVE-2025-64345 is a low (CVSS 1.8) vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.7% of scored vulnerabilities.
Not severe (CVSS 1.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 12-11-2025PublishedVulnerability first disclosed.
- 12-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- OSV · Crates.ioEcosystem advisory · calculated1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
- NVDNIST1.8LowCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.12% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard6 products
- washAll versions (No fix recorded)
- wasmcloud< 1.9.1-r0
- wizer< 10.0.0-r3
- yara-x< 1.9.0-r2
- zed< 0.228.0-r3
Wolfi6 products
- washAll versions (No fix recorded)
- wasmcloud< 1.9.1-r0
- wizer< 10.0.0-r3
- yara-x< 1.9.0-r2
- zed< 0.228.0-r3
Bytecodealliance1 product
- wasmtime≥ 38.0.1, < 38.0.4 | ≥ 37.0.0, < 37.0.3 | ≥ 26.0.0, < 36.0.3 | < 24.0.5
Crates.Io1 product
- wasmtime≥ 37.0.0, < 37.0.3 | ≥ 26.0.0, < 36.0.3 | < 24.0.5 | ≥ 38.0.0, < 38.0.4
Debian1 product
- rust-wasmtimeAll versions (No fix recorded) | < 27.0.0+dfsg-2
Ubuntu1 product
- rust-wasmtimeAll versions (No fix recorded)
6 vendors · 16 products
References
14 links- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9qX Refsource CONFIRMREPORTAdvisoryWEB
- github.com/bytecodealliance/wasmtime/commit/9ebb6934f00d58b92fb68ed0e0b16c0ae828ca10X Refsource MISCREPORTFIXWEB
Show all 14 references
- crates.io/crates/wasmtimePACKAGE