Skip to main content
VulnerabilityPublished

CVE-2025-64345: bytecodealliance wasmtime · Race Condition

Affects bytecodealliance wasmtimeSource CVE Database V5

0

Not known to be exploited · CVSS 1.8 Low : upgrade to 24.0.5 when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
1.8Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 1% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 24.0.5
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade bytecodealliance/wasmtime to 24.0.5.

Affected software

ProductAffectedFixed in
crates.iobytecodealliance/wasmtimepkg:cargo/bytecodealliance/wasmtimeOther threatsAffected
  • <24.0.5
Fixed in
  • 24.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade Wasmtime to the latest patched versions: 24.0.5, 36.0.3, 37.0.3, or 38.0.4 or later.
  2. Modify embedding code to use SharedMemory::new instead of Memory::new when creating shared linear memories to ensure proper synchronization and soundness.
  3. Disable core dumps in environments where upgrading or code changes are not immediately possible to prevent inconsistent memory state exposure.
  4. Conduct code audits of Wasmtime embedding implementations to verify correct usage of shared memory APIs and absence of unsafe concurrency patterns.
  5. Implement strict access controls to limit local high-privilege user access to hosts running Wasmtime to reduce exploitation risk.
  6. Monitor Wasmtime runtime logs and application behavior for anomalies indicative of data races or memory corruption.
  7. Educate development teams on safe concurrency practices when working with WebAssembly shared memory and Rust embedding APIs.
  8. Consider sandboxing or isolating Wasmtime processes to contain potential integrity issues.
  9. Stay informed on Wasmtime security advisories for any future updates or related vulnerabilities.

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.

References

Community reviews

Loading reviews…