CVE-2022-39393: bytecodealliance wasmtime
Vulnerability summary
CVE-2022-39393 is a high (CVSS 8.6) vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 54.3% of scored vulnerabilities.
Timeline
- 10-11-2022PublishedVulnerability first disclosed.
- 02-05-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- OSV · Crates.ioEcosystem advisory · calculated8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- NVDNIST8.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.75%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
+0.04 pp
From 0.71% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-226Sensitive Information in Resource Not Removed Before ReuseThe 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.
- CWE-212Improper Removal of Sensitive Information Before Storage or TransferThe 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.
Affected systems
Ubuntu6 products
- mozjs38All versions (No fix recorded)
- mozjs52All versions (No fix recorded)
- mozjs68All versions (No fix recorded)
- mozjs78All versions (No fix recorded)
- mozjs91All versions (No fix recorded)
Bytecodealliance1 product
- wasmtime< 1.0.2 | ≥ 2.0.0, < 2.0.2
Crates.Io1 product
- wasmtime< 1.0.2 | ≥ 2.0.0, < 2.0.2
3 vendors · 8 products
References
11 links- github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qfX Refsource CONFIRMREPORTWEBThird Party Advisory
- github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0X Refsource MISCREPORTWEBPatchThird Party Advisory
Show all 11 references
- crates.io/crates/wasmtimePACKAGE