CVE-2022-39393

Wasmtime vulnerable to data leakage between instances in the pooling allocator

State
Published
Severity
8.6 High
Published
Nov 10, 2022
Updated
May 2, 2025
Reserved
Sep 2, 2022

Read the record on cve.org

Description

Wasmtime is a standalone runtime for WebAssembly. Prior to versions 2.0.2 and 1.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2 and 1.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse

Affected Products

ProductVersions
wasmtimebytecodealliance
  • >= 2.0.0, < 2.0.2Affected
  • < 1.0.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.