# CVE-2022-39393: Wasmtime vulnerable to data leakage between instances in the pooling allocator

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.0.2, 2.0.2 (CNA); fix release not confirmed
- Status: published
- Published: 2022-11-10 · Modified: 2025-05-02
- Aliases: UBUNTU-CVE-2022-39393, GHSA-wh6w-3828-g9qf, RUSTSEC-2022-0075, RUSTSEC-2022-0098
- Record: https://cvemate.com/vulnerability/CVE-2022-39393 · JSON: https://cvemate.com/vulnerability/CVE-2022-39393/json

## Description

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

## Signals

- CVSS: 8.6 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- EPSS: 0.962%, percentile 62.788%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- bytecodealliance wasmtime: \< 1.0.2 \| ≥ 2.0.0, \< 2.0.2
- Crates.Io wasmtime (Crates.Io): \< 1.0.2 \| ≥ 2.0.0, \< 2.0.2
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs91 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf>
- <https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0>
- <https://ubuntu.com/security/CVE-2022-39393>
- <https://www.cve.org/CVERecord?id=CVE-2022-39393>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39393>
- <https://github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6>
- <https://github.com/bytecodealliance/wasmtime>
- <https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/c1HBDDJwNPA>
- <https://rustsec.org/advisories/RUSTSEC-2022-0075.html>
- <https://rustsec.org/advisories/RUSTSEC-2022-0098.html>
- <https://crates.io/crates/wasmtime>

---

Data as of 2026-12-05T11:51:49.337Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
