{"id":"EUVD-2025-131930","enisaUuid":"a9749a45-d87b-3dd0-b735-5c409e14bb17","description":"Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime\u0027s 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.","datePublished":"Nov 12, 2025, 9:25:50 PM","dateUpdated":"Nov 12, 2025, 9:40:37 PM","baseScore":1.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","references":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9q\nhttps://github.com/bytecodealliance/wasmtime/commit/9ebb6934f00d58b92fb68ed0e0b16c0ae828ca10\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.Memory.html#method.new\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.SharedMemory.html#method.new\nhttps://docs.wasmtime.dev/stability-release.html\nhttps://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.4\n","aliases":"CVE-2025-64345\nGHSA-hc7m-r6v8-hg9q\n","assigner":"GitHub_M","epss":0.12,"enisaIdProduct":[{"id":"26dfd30f-97d0-3e45-a190-5e11bc3ca0b9","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"26.0.0, \u003c 36.0.3"},{"id":"97755700-50be-3c7d-9899-cc6c4c9b99cc","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"\u003c 24.0.5"},{"id":"b78a748f-02a2-3cc8-b7d6-d3daaeddb061","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"38.0.1, \u003c 38.0.4"},{"id":"d74d30ab-1d42-367f-a06a-7f34961ef7a7","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"37.0.0, \u003c 37.0.3"}],"enisaIdVendor":[{"id":"8d6bf3cb-6162-3573-b17f-521c7326c989","vendor":{"name":"bytecodealliance"}}],"enisaIdVulnerability":[{"id":"8b0681ea-2ca8-35dd-bc3d-cce0e92f0c38","vulnerability":{"id":"CVE-2025-64345","description":"Wasmtime is a runtime for WebAssembly. Prior to version 38.0.4, 37.0.3, 36.0.3, and 24.0.5, Wasmtime\u0027s 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.","datePublished":"Nov 12, 2025, 9:25:50 PM","dateUpdated":"Nov 12, 2025, 9:40:37 PM","status":"PUBLISHED","baseScore":1.8,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","references":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9q\nhttps://github.com/bytecodealliance/wasmtime/commit/9ebb6934f00d58b92fb68ed0e0b16c0ae828ca10\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.Memory.html#method.new\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.SharedMemory.html#method.new\nhttps://docs.wasmtime.dev/stability-release.html\nhttps://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.4\n","enisa_id":"EUVD-2025-131930\n","assigner":"GitHub_M","epss":0.12,"dataProcessed":"Nov 1, 2026, 1:38:07 AM","vulnerabilityProduct":[{"id":"6c38fe24-9687-3e7a-bde2-82846830c090","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"38.0.1, \u003c 38.0.4"},{"id":"98b0d400-3daa-3d4c-a31e-5aa05c6c2699","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"37.0.0, \u003c 37.0.3"},{"id":"d64d6e26-8404-3a3d-bc99-a322468ac4e8","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"26.0.0, \u003c 36.0.3"},{"id":"e2f2e97b-3ea7-33a7-8aeb-9ecb912ed2bb","product":{"name":"wasmtime","vendor":{"name":"bytecodealliance"}},"product_version":"\u003c 24.0.5"}],"vulnerabilityVendor":[{"id":"ac7a3540-227b-36b1-8275-36369a700f5d","vendor":{"name":"bytecodealliance"}}]}},{"id":"d8a30192-521a-3845-a247-0cf81612788e","vulnerability":{"id":"GHSA-hc7m-r6v8-hg9q","description":"Wasmtime provides unsound API access to a WebAssembly shared linear memory","datePublished":"Nov 12, 2025, 9:36:29 PM","dateUpdated":"Nov 13, 2025, 10:02:14 PM","baseScore":0.0,"references":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9q\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-64345\nhttps://github.com/bytecodealliance/wasmtime/commit/9ebb6934f00d58b92fb68ed0e0b16c0ae828ca10\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.Memory.html#method.new\nhttps://docs.rs/wasmtime/latest/wasmtime/struct.SharedMemory.html#method.new\nhttps://docs.wasmtime.dev/stability-release.html\nhttps://github.com/bytecodealliance/wasmtime\nhttps://github.com/bytecodealliance/wasmtime/releases/tag/v38.0.4\nhttps://rustsec.org/advisories/RUSTSEC-2025-0118.html\n","enisa_id":"EUVD-2025-131930\n","aliases":"GHSA-hc7m-r6v8-hg9q\nCVE-2025-64345\n","epss":0.0,"dataProcessed":"Nov 1, 2026, 1:56:19 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}