CVE-2022-45406
Mozilla: Use-after-free of a JavaScript Realm
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 15, 2022
Updated · November 21, 2025
Description
The Mozilla Foundation Security Advisory describes this flaw as:
If an out-of-memory condition occurred when creating a JavaScript global, a JavaScript realm may be deleted while references to it lived on in a BaseShape. This could lead to a use-after-free causing a potentially exploitable crash.
Statement
Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free