Security mailing lists by PureSourceCode

CVE-2025-64345

LOW 1.8CVSS 3.1

Wasmtime provides unsound API access to a WebAssembly shared linear memory

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.

Published
12 Nov 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-362
Also known as
GHSA-hc7m-r6v8-hg9qRUSTSEC-2025-0118
Sources
NVDJSONOSV GHSA-hc7m-r6v8-hg9qJSONOSV RUSTSEC-2025-0118JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 1.8 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 1.8 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
OSV RustSec CVSS 3.1 LOW 1.8 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io wasmtime >= 38.0.0, < 38.0.4 38.0.4
OSV crates.io wasmtime >= 37.0.0, < 37.0.3 37.0.3
OSV crates.io wasmtime >= 26.0.0, < 36.0.3 36.0.3
OSV crates.io wasmtime < 24.0.5 24.0.5
OSV crates.io wasmtime >= 0.0.0-0, < 24.0.5; >= 25.0.0, < 36.0.3; >= 37.0.0, < 37.0.3; >= 38.0.0, < 38.0.4 24.0.5, 36.0.3, 37.0.3, 38.0.4

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 12 Nov 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Nov 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.