Security mailing lists by PureSourceCode

CVE-2022-39393

HIGH 8.6CVSS 3.1

Wasmtime may have data leakage between instances in the pooling allocator

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.

Published
10 Nov 2022
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-212CWE-226
Also known as
GHSA-wh6w-3828-g9qfRUSTSEC-2022-0075RUSTSEC-2022-0098
Sources
NVDJSONOSV GHSA-wh6w-3828-g9qfJSONOSV RUSTSEC-2022-0075JSONOSV RUSTSEC-2022-0098JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
OSV RustSec CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD bytecodealliance wasmtime
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
< 1.0.2 1.0.2
NVD bytecodealliance wasmtime
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*
>= 2.0.0, < 2.0.2 2.0.2
OSV crates.io wasmtime >= 2.0.0, < 2.0.2 2.0.2
OSV crates.io wasmtime < 1.0.2 1.0.2
OSV crates.io wasmtime >= 0.0.0-0, < 1.0.2; >= 2.0.0, < 2.0.2 1.0.2, 2.0.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.