cve.bz

CVE-2025-64345 bytecodealliance wasmtime: Race Condition

1.8 lowEPSS 0.1%Fix available

Low (1.8) in bytecodealliance wasmtime. EPSS 0.1% estimated probability of exploitation activity in the next 30 days. Fixed in wasmtime 24.0.5, 36.0.3, 37.0.3.

On this page
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.

Severity

CVSS 3.1

1.8 low
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 2nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-64345 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-64345?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-64345?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-64345 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
bytecodealliance wasmtime>= 38.0.1, < 38.0.4
bytecodealliance wasmtime>= 37.0.0, < 37.0.3
bytecodealliance wasmtime>= 26.0.0, < 36.0.3
bytecodealliance wasmtime< 24.0.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hc7m-r6v8-hg9qcrates.iowasmtime>=38.0.0 <38.0.438.0.4
GHSA-hc7m-r6v8-hg9qcrates.iowasmtime>=37.0.0 <37.0.337.0.3
GHSA-hc7m-r6v8-hg9qcrates.iowasmtime>=26.0.0 <36.0.336.0.3
GHSA-hc7m-r6v8-hg9qcrates.iowasmtime<24.0.524.0.5
RUSTSEC-2025-0118crates.iowasmtime>=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

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13rust-wasmtimeno fix listedDEBIAN-CVE-2025-64345
Debian14rust-wasmtime27.0.0+dfsg-2DEBIAN-CVE-2025-64345
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morerust-wasmtimeno fix listedUBUNTU-CVE-2025-64345

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Connectivity Link 1rhcl-1/wasm-shim-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-64345.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON