CVEBrief

Home / bytecodealliance / wasmtime / CVE-2022-39392

CVE-2022-39392: is it exploited, and which versions of bytecodealliance wasmtime are affected and fixed?

CVE-2022-39392 is a memory corruption (buffer overflow) vulnerability in bytecodealliance wasmtime. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: wasmtime from 2.0.0 before 2.0.2 and wasmtime before 1.0.2 (GitHub advisory GHSA-44mr-8vmm-wjhg). Fixed in 2.0.2 and 1.0.2 (GitHub advisory GHSA-44mr-8vmm-wjhg). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:44 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:08 UTC
Affected
wasmtime from 2.0.0 before 2.0.2 and wasmtime before 1.0.2
GitHub advisory GHSA-44mr-8vmm-wjhg
Fixed in
2.0.2 and 1.0.2
GitHub advisory GHSA-44mr-8vmm-wjhg
Severity
Medium 5.9
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.84% in 30 days
higher than 59% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-39392?

Wasmtime vulnerable to out of bounds read/write with zero-memory-pages configuration

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory. In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration requirements for safely executing WebAssembly modules. Wasmtime's default settings require virtual memory page faults to indicate that wasm reads/writes are out-of-bounds, but the pooling allocator's configuration would not create an appropriate virtual memory mapping for this meaning out of bounds reads/writes can successfully read/write memory unrelated to the wasm sandbox within range of the base address of the memory mapping created by the pooling allocator. This bug is not applicable with the default settings of the `wasmtime` crate. This bug can only be triggered by setting `InstanceLimits::memory_pages` to zero. This is expected to be a very rare configuration since this means that wasm modules cannot allocate any pages of linear memory. All wasm modules produced by all current toolchains are highly likely to use linear memory, so it's expected to be unlikely that this configuration is set to zero by any production embedding of Wasmtime. This bug has been patched and users should upgrade to Wasmtime 2.0.2. This bug can be worked around by increasing the `memory_pages` allotment when configuring the pooling allocator to a value greater than zero. If an embedding wishes to still prevent memory from actually being used then the `Store::limiter` method can be used to dynamically disallow growth of memory beyond 0 bytes large. Note that the default `memory_pages` value is greater than zero.

From the CVE record by GitHub_M, last updated April 23, 2025, 16:39 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
bytecodealliancewasmtime< 2.0.2

As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.iowasmtime>= 2.0.0, < 2.0.22.0.2GHSA-44mr-8vmm-wjhg
crates.iowasmtime< 1.0.21.0.2GHSA-44mr-8vmm-wjhg

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 2, 2025. Summary: Wasmtime out of bounds read/write with zero-memory-pages configuration.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
bytecodealliancewasmtimebefore 1.0.2application
bytecodealliancewasmtimefrom 2.0.0 before 2.0.2application

NVD analysis (status Modified), last modified June 17, 2026, 04:58 UTC.

How severe is CVE-2022-39392?

ScoreVersionVectorSource
Medium 5.9CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:NGitHub_M
High 7.4CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-39392 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2025)
EPSS
0.84% probability of exploitation activity in the next 30 days, percentile 59.2 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
September 2, 2022
Published
November 10, 2022, 00:00 UTC
CVE record updated
April 23, 2025, 16:39 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:58 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect wasmtime?

Every CVE in wasmtime

Questions about CVE-2022-39392

Is CVE-2022-39392 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.84% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of bytecodealliance wasmtime are affected by CVE-2022-39392?

wasmtime from 2.0.0 before 2.0.2 and wasmtime before 1.0.2, per the GitHub advisory GHSA-44mr-8vmm-wjhg. The tables above give every range the sources list.

Which version fixes CVE-2022-39392?

2.0.2 and 1.0.2, per the GitHub advisory GHSA-44mr-8vmm-wjhg. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-39392?

Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-39392?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.