{"answers":{"affected":"9 open source packages ship an affected version, including wasmtime.","exploited":"There is no known exploitation of CVE-2025-64345 in the wild and no public exploit code.","fix":"Upgrade wasmtime to a fixed version for your release line: 24.0.5, 36.0.3, 37.0.3 or 38.0.4.","what":"CVE-2025-64345 is a low-severity vulnerability in bytecodealliance wasmtime, published on 12 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-64345 and fix it if it is affected.\n\nWhat it is: CVE-2025-64345 is a low-severity vulnerability in bytecodealliance wasmtime, published on 12 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-64345 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wasmtime (crates.io): affected all versions; fixed in 24.0.5\n- wasmtime (crates.io): affected all versions; fixed in 24.0.5\n- wasmtime (crates.io): affected from 0.0.0-0; fixed in 24.0.5, 36.0.3, 37.0.3, 38.0.4\n- wasmtime (crates.io): affected from 26.0.0; fixed in 36.0.3\n- wasmtime (crates.io): affected from 26.0.0; fixed in 36.0.3\n- wasmtime (crates.io): affected from 37.0.0; fixed in 37.0.3\n- wasmtime (crates.io): affected from 37.0.0; fixed in 37.0.3\n- wasmtime (crates.io): affected from 38.0.0; fixed in 38.0.4\n- wasmtime (crates.io): affected from 38.0.0; fixed in 38.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-64345/ (Markdown: https://insights.sbomify.com/CVE-2025-64345/index.md)","id":"CVE-2025-64345","markdown":"https://insights.sbomify.com/CVE-2025-64345/index.md","name":"CVE-2025-64345","record":{"aliases":["DEBIAN-CVE-2025-64345","GHSA-hc7m-r6v8-hg9q","JLSEC-2026-1350","RUSTSEC-2025-0118","UBUNTU-CVE-2025-64345"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WebAssembly runtime library","requires_auth":"high_privilege","summary":"Wasmtime's unsound API allows data races on shared WebAssembly memory, potentially leading to host memory corruption or information disclosure.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":1.8,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"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.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Wasmtime provides unsound API access to a WebAssembly shared linear memory","id":"CVE-2025-64345","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"race_condition","year":"2025"},"n_packages":9,"n_references":6,"next":{"headline":"archives: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","id":"CVE-2025-64346"},"packages":[{"ecosystem":"crates.io","fixed":["24.0.5"],"introduced":["0"],"last_affected":[],"package":"wasmtime","purl":null,"source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["24.0.5"],"introduced":["0"],"last_affected":[],"package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["24.0.5","36.0.3","37.0.3","38.0.4"],"introduced":["0.0.0-0","25.0.0","37.0.0","38.0.0"],"last_affected":[],"package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"RUSTSEC-2025-0118"},{"ecosystem":"crates.io","fixed":["36.0.3"],"introduced":["26.0.0"],"last_affected":[],"package":"wasmtime","purl":null,"source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["36.0.3"],"introduced":["26.0.0"],"last_affected":[],"package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["37.0.3"],"introduced":["37.0.0"],"last_affected":[],"package":"wasmtime","purl":null,"source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["37.0.3"],"introduced":["37.0.0"],"last_affected":[],"package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["38.0.4"],"introduced":["38.0.0"],"last_affected":[],"package":"wasmtime","purl":null,"source":"GHSA-hc7m-r6v8-hg9q"},{"ecosystem":"crates.io","fixed":["38.0.4"],"introduced":["38.0.0"],"last_affected":[],"package":"wasmtime","purl":"pkg:cargo/wasmtime","source":"GHSA-hc7m-r6v8-hg9q"}],"prev":{"headline":"Suricata is vulnerable to a stack overflow from unbounded stack allocation in LuaPushStringBuffer","id":"CVE-2025-64344"},"products":["wasmtime"],"published":"2025-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-12","vendors":["bytecodealliance"]},"summary":"Wasmtime's unsound API allows data races on shared WebAssembly memory, potentially leading to host memory corruption or information disclosure.","url":"https://insights.sbomify.com/CVE-2025-64345/"}