CVEvulnerability

CVE-2022-39393

8.6 HIGH Published 2022-11-10 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-11-10
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS 3.1 ([email protected])
8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-212, CWE-226

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`.

Affected configurations

• bytecodealliance wasmtime (< 1.0.2) • bytecodealliance wasmtime (>= 2.0.0 < 2.0.2)

Related

Weakness · CWE (2)

  • CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer weakness
  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse weakness

References