CVE-2025-64345

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-64345
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64345.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-64345
Aliases
Downstream
Published
2025-11-12T21:25:50.832Z
Modified
2025-12-05T10:22:05.480553Z
Severity
  • 1.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
Wasmtime provides unsound API access to a WebAssembly shared linear memory
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64345.json",
    "cwe_ids": [
        "CWE-362"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/bytecodealliance/wasmtime

Affected ranges

Type
GIT
Repo
https://github.com/bytecodealliance/wasmtime
Events
Database specific
{
    "versions": [
        {
            "introduced": "38.0.1"
        },
        {
            "fixed": "38.0.4"
        }
    ]
}
Type
GIT
Repo
https://github.com/bytecodealliance/wasmtime
Events
Database specific
{
    "versions": [
        {
            "introduced": "37.0.0"
        },
        {
            "fixed": "37.0.3"
        }
    ]
}
Type
GIT
Repo
https://github.com/bytecodealliance/wasmtime
Events
Database specific
{
    "versions": [
        {
            "introduced": "26.0.0"
        },
        {
            "fixed": "36.0.3"
        }
    ]
}
Type
GIT
Repo
https://github.com/bytecodealliance/wasmtime
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "24.0.5"
        }
    ]
}

Affected versions

cranelift-v0.*

cranelift-v0.60.0
cranelift-v0.61.0
cranelift-v0.69.0

filecheck-v0.*

filecheck-v0.0.1

v0.*

v0.12.0
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.20.0
v0.21.0
v0.22.0
v0.23.0
v0.24.0
v0.25.0
v0.26.0
v0.27.0
v0.28.0
v0.29.0
v0.30.0
v0.31.0
v0.32.0
v0.33.0
v0.34.0
v0.35.0

v24.*

v24.0.0
v24.0.1
v24.0.2
v24.0.3
v24.0.4

v37.*

v37.0.0
v37.0.1
v37.0.2

v38.*

v38.0.1
v38.0.2
v38.0.3