Read the docs
TI-2025-39778 Aliases CVE-2025-64345GHSA-hc7m-r6v8-hg9q

Wasmtime provides unsound API access to a WebAssembly shared linear memory

Priority LOW 9CWE-362Published · Updated

Key facts

Attack vector
Local
Privileges required
High
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00116 1st percentileScored 2026-11-07
Fix Partial wasmtime (bytecodealliance): 38.0.4, 37.0.3, 36.0.3 +1wasmtime (crates.io): 38.0.4, 37.0.3, 36.0.3 +1Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bytecodealliancewasmtime38.0.1 to before 38.0.4; 37.0.0 to before 37.0.3; 26.0.0 to before 36.0.3; before 24.0.538.0.4, 37.0.3, 36.0.3, 24.0.5Patch availableCNA
—wasmtime (crates.io)38.0.0 to before 38.0.438.0.4Patch availableGHSA-hc7m-r6v8-hg9q
—wasmtime (crates.io)37.0.0 to before 37.0.337.0.3Patch availableGHSA-hc7m-r6v8-hg9q
—wasmtime (crates.io)26.0.0 to before 36.0.336.0.3Patch availableGHSA-hc7m-r6v8-hg9q
—wasmtime (crates.io)before 24.0.524.0.5Patch availableGHSA-hc7m-r6v8-hg9q
  • wasmtime Vendorbytecodealliance Affected 38.0.1 to before 38.0.4; 37.0.0 to before 37.0.3; 26.0.0 to before 36.0.3; before 24.0.5 Fixed in 38.0.4, 37.0.3, 36.0.3, 24.0.5 Patch available CNA
  • wasmtime (crates.io) Vendor— Affected 38.0.0 to before 38.0.4 Fixed in 38.0.4 Patch available GHSA-hc7m-r6v8-hg9q
  • wasmtime (crates.io) Vendor— Affected 37.0.0 to before 37.0.3 Fixed in 37.0.3 Patch available GHSA-hc7m-r6v8-hg9q
  • wasmtime (crates.io) Vendor— Affected 26.0.0 to before 36.0.3 Fixed in 36.0.3 Patch available GHSA-hc7m-r6v8-hg9q
  • wasmtime (crates.io) Vendor— Affected before 24.0.5 Fixed in 24.0.5 Patch available GHSA-hc7m-r6v8-hg9q

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*——bytecodealliance
  • cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:* Versions — — ·bytecodealliance

Remediation

  • Fix · CNA wasmtime (bytecodealliance) Fixed in 38.0.4, 37.0.3, 36.0.3, 24.0.5
  • Fix · GHSA-hc7m-r6v8-hg9q wasmtime (crates.io) Fixed in 38.0.4 Advisory →
  • Fix · GHSA-hc7m-r6v8-hg9q wasmtime (crates.io) Fixed in 37.0.3 Advisory →
  • Fix · GHSA-hc7m-r6v8-hg9q wasmtime (crates.io) Fixed in 36.0.3 Advisory →
  • Fix · GHSA-hc7m-r6v8-hg9q wasmtime (crates.io) Fixed in 24.0.5 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64345
  2. 2026-10-03 Alias added: GHSA-hc7m-r6v8-hg9q

References

  • TI-2026-85541 WAMR fast interpreter loader heap overflow via constant deduplication mismatch CVSS 4.0HIGH 8.8
  • TI-2024-16741 An issue in bytecodealliance wasm-micro-runtime before v.b3f728c and fixed in commit… CVSS 3.1HIGH 8.8
  • TI-2024-22658 An out-of-bound memory read vulnerability was discovered in Bytecode Alliance… CVSS 3.1HIGH 7.5
  • TI-2024-18300 wasm-micro-runtime (aka WebAssembly Micro Runtime or WAMR) 06df58f is vulnerable to NULL… CVSS 3.1HIGH 7.5
  • TI-2023-26034 An heap overflow vulnerability was discovered in Bytecode alliance wasm-micro-runtime… CVSS 3.1HIGH 7.5
  • TI-2025-33969 WebAssembly Micro Runtime's `--addr-pool` option allows all IPv4 addresses when subnet mask is not specified CVSS 4.0MEDIUM 6.9
See all 97 →

Sources