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

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Published: 2022-11-05T12:00:00.000Z
- Modified: 2026-10-12T18:00:05.117Z
- Also known as: GHSA-wh6w-3828-g9qf, RUSTSEC-2022-0075, RUSTSEC-2022-0098
- Weaknesses: CWE-212, CWE-226
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- bytecodealliance wasmtime: >= 2.0.0, < 2.0.2; < 1.0.2; before 1.0.2; from 2.0.0 before 2.0.2
- wasmtime (crates.io): from 2.0.0 before 2.0.2; before 1.0.2; from 0.0.0-0 before 1.0.2

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- RustSec Advisory Database: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf> (third-party-advisory, web)
- <https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39393> (advisory)
- <https://github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6> (web)
- <https://github.com/bytecodealliance/wasmtime> (package)
- <https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/c1HBDDJwNPA> (web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0075.html> (advisory, web)
- <https://rustsec.org/advisories/RUSTSEC-2022-0098.html> (advisory, web)
- <https://crates.io/crates/wasmtime> (package)

## Sources

- CVE List: [CVE-2022-39393](https://www.cve.org/CVERecord?id=CVE-2022-39393), CVE Terms of Use, modified 2025-05-02
- GitHub Advisory Database: [GHSA-wh6w-3828-g9qf](https://github.com/advisories/GHSA-wh6w-3828-g9qf), CC-BY-4.0, modified 2025-05-02
- RustSec Advisory Database: [RUSTSEC-2022-0075](https://rustsec.org/advisories/RUSTSEC-2022-0075.html), CC0-1.0, modified 2026-10-12
- RustSec Advisory Database: [RUSTSEC-2022-0098](https://rustsec.org/advisories/RUSTSEC-2022-0098.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2022-39393](https://nvd.nist.gov/vuln/detail/CVE-2022-39393), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39393 · Whole record: https://cve.day/CVE-2022-39393.json · Rebuilt by cve.day 2026-11-25T22:58:16.386Z
