CVE catalog

CVE-2022-39392

UBUNTU-CVE-2022-39392

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.66% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntumozjs5218.0452.3.1-0ubuntu3vulnerable
Ubuntumozjs5218.0452.3.1-7fakesync1vulnerable
Ubuntumozjs5218.0452.8.1-0ubuntu0.18.04.1vulnerable
Ubuntumozjs5218.0452.9.1-0ubuntu0.18.04.1vulnerable
Ubuntumozjs3818.0438.8.0~repack1-0ubuntu1vulnerable
Ubuntumozjs3818.0438.8.0~repack1-0ubuntu3vulnerable
Ubuntumozjs3818.0438.8.0~repack1-0ubuntu4vulnerable
Ubuntumozjs6820.0468.5.0-1~fakesyncvulnerable
Ubuntumozjs6820.0468.5.0-2~fakesyncvulnerable
Ubuntumozjs6820.0468.6.0-1vulnerable
Ubuntumozjs6820.0468.6.0-1ubuntu1vulnerable
Ubuntumozjs5220.0452.9.1-1build1vulnerable
Ubuntumozjs5220.0452.9.1-1ubuntu3vulnerable
Ubuntumozjs7822.0478.13.0-1vulnerable
Ubuntumozjs7822.0478.15.0-2vulnerable
Ubuntumozjs7822.0478.15.0-4ubuntu1vulnerable
Ubuntumozjs9122.0491.5.1-0ubuntu1vulnerable
Ubuntumozjs9122.0491.6.0-1vulnerable
Ubuntumozjs9122.0491.6.0-2vulnerable
Ubuntumozjs9122.0491.7.0-2vulnerable
Ubuntumozjs9122.0491.10.0-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.1.2+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.3.0+build2-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.3.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.3.2+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.4.0+build1.1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.4.0+build2-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.5.0+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.5.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.6.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.7.0+build1-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.7.0+build2-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.8.0+build2-0ubuntu1vulnerable
Ubuntuthunderbird22.041:91.9.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:91.11.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.2.2+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.4.2+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.7.1+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.8.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.9.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.10.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.11.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.13.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.15.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:102.15.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.3.1+build1-0ubuntu0.22.04.2vulnerable
Ubuntuthunderbird22.041:115.4.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.5.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.6.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.8.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.9.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.10.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.11.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.12.0+build3-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.13.0+build5-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.15.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.16.0+build2-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:115.18.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:128.12.0+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird22.041:140.7.1+build1-0ubuntu0.22.04.1vulnerable
Ubuntuthunderbird24.041:115.3.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.4.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.4.3+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.5.0+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.5.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.5.2+build2-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.6.0+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.6.0+build2-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.6.1+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.8.0+build1-0ubuntu1vulnerable
Ubuntuthunderbird24.041:115.8.1+build1+snap2vulnerable
Ubuntuthunderbird24.041:115.8.1+build1+snap3vulnerable
Ubuntuthunderbird24.042:1snap1-0ubuntu1vulnerable
Ubuntuthunderbird24.042:1snap1-0ubuntu3vulnerable

Fixed-version evidence

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

Observed:

References