High severity8.6NVD Advisory· Published Nov 10, 2022· Updated Jun 17, 2026
CVE-2022-39393
CVE-2022-39393
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wasmtimecrates.io | >= 2.0.0, < 2.0.2 | 2.0.2 |
wasmtimecrates.io | < 1.0.2 | 1.0.2 |
Affected products
3cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*+ 1 more
- cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*range: <1.0.2
- (no CPE)range: >= 2.0.0, < 2.0.2
Patches
Vulnerability mechanics
References
8- github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-wh6w-3828-g9qfghsaADVISORY
- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qfnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-39393ghsaADVISORY
- github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6ghsaWEB
- groups.google.com/a/bytecodealliance.org/g/sec-announce/c/c1HBDDJwNPAghsaWEB
- rustsec.org/advisories/RUSTSEC-2022-0075.htmlghsaWEB
- rustsec.org/advisories/RUSTSEC-2022-0098.htmlghsaWEB
News mentions
0No linked articles in our index yet.