{"schemaVersion":4,"id":"CVE-2022-39393","aliases":["UBUNTU-CVE-2022-39393","GHSA-wh6w-3828-g9qf","RUSTSEC-2022-0075","RUSTSEC-2022-0098"],"status":"published","duplicateOf":null,"title":"Wasmtime vulnerable to data leakage between instances in the pooling allocator","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`.","dates":{"published":"2022-11-10T00:00:00.000Z","modified":"2025-05-02T12:51:28.525Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.6,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":10,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.6,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00962,"percentile":0.62788,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.20800000000000002,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00754},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00962,"percentile":0.62788}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00754,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00939,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00964,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00962,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00962,"percentile":0.62788}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-226","name":"Sensitive Information in Resource Not Removed Before Reuse","description":"The product releases a resource such as memory or a file so that it can be made available for reuse, but it does not clear or \"zeroize\" the information contained in the resource before the product performs a critical state transition or makes the resource available for reuse by other entities.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/226.html"},{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer","description":"The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/212.html"}],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0","startInclusive":true,"end":"2.0.2","endInclusive":false}}],"versionsText":"< 1.0.2 | ≥ 2.0.0, < 2.0.2","eol":null,"hubHref":"/vendor/bytecodealliance/wasmtime"},{"vendor":"Crates.Io","product":"wasmtime","name":"wasmtime","label":"wasmtime","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/wasmtime","purlType":"cargo","versions":[{"text":"< 1.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.0.2","endInclusive":false}},{"text":"≥ 2.0.0, < 2.0.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"2.0.0","startInclusive":true,"end":"2.0.2","endInclusive":false}}],"versionsText":"< 1.0.2 | ≥ 2.0.0, < 2.0.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs78","name":"mozjs78","label":"mozjs78","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs78","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs91","name":"mozjs91","label":"mozjs91","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs91","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf","label":"github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Third Party Advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0","label":"github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-39393","label":"ubuntu.com/security/CVE-2022-39393","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-39393","label":"www.cve.org/CVERecord?id=CVE-2022-39393","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39393","label":"nvd.nist.gov/vuln/detail/CVE-2022-39393","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6","label":"github.com/bytecodealliance/wasmtime/commit/3535acbf3be032ef1ba0b469b8ab92538a8a18a6","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/bytecodealliance/wasmtime","label":"github.com/bytecodealliance/wasmtime","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/c1HBDDJwNPA","label":"groups.google.com/a/bytecodealliance.org/g/sec-announce/c/c1HBDDJwNPA","hostname":"groups.google.com","tags":["WEB"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0075.html","label":"rustsec.org/advisories/RUSTSEC-2022-0075.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0098.html","label":"rustsec.org/advisories/RUSTSEC-2022-0098.html","hostname":"rustsec.org","tags":["WEB","Advisory"]},{"url":"https://crates.io/crates/wasmtime","label":"crates.io/crates/wasmtime","hostname":"crates.io","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-10T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-02T12:51:28.525Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 8.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 1.0.2, 2.0.2 (CNA); fix release not confirmed","rank":[0,0,0,0,1,86],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00962,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-05-02T12:51:28.525Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_ubuntu","date":"2025-05-02T12:51:28.525Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_crates.io","date":"2025-05-02T12:51:28.525Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2025-05-02T12:51:28.525Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-04-23T15:49:01.866Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00962,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:36:25.511Z","stale":false,"partial":false}}