{"cve":"CVE-2022-39393","nvd":{"published":"2022-11-10T20:15:11.520","modified":"2026-06-17T04:58:16.347","status":"Modified","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`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6},"cwes":["CWE-212","CWE-226"],"references":["https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0","https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf","https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0","https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf"],"products":["bytecodealliance:wasmtime"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39393","score":0.00754,"percentile":0.5511,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wh6w-3828-g9qf","url":"https://osv.dev/vulnerability/GHSA-wh6w-3828-g9qf","summary":"Wasmtime may have data leakage between instances in the pooling allocator","modified":"2025-05-02T12:51:03Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=2.0.0 <2.0.2"],"fixed":["2.0.2"]},{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":["<1.0.2"],"fixed":["1.0.2"]}]},{"id":"RUSTSEC-2022-0075","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0075","summary":"Bug in pooling instance allocator","modified":"2026-10-12T18:00:05.117534654Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=0.0.0-0 <1.0.2",">=2.0.0 <2.0.2"],"fixed":["1.0.2","2.0.2"]}]},{"id":"RUSTSEC-2022-0098","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0098","summary":"Data leakage between instances in the pooling allocator","modified":"2026-10-12T18:00:04.405460526Z","packages":[{"ecosystem":"crates.io","name":"wasmtime","purl":"pkg:cargo/wasmtime","ranges":[">=0.0.0-0 <1.0.2",">=2.0.0 <2.0.2"],"fixed":["1.0.2","2.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}