# CVE-2022-45406: If an out-of-memory condition occurred when creating a JavaScript global, a JavaScript realm may be deleted while references to it lived on…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 66% of CVEs (2026-12-01)
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:10:00.747Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mozilla

## Description

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. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.

(As written by CVE List.)

## Affected

- Mozilla Firefox ESR: from unspecified before 102.5
- Mozilla Thunderbird: from unspecified before 102.5; before 102.5
- Mozilla Firefox: from unspecified before 107; before 107.0
- mozilla firefox_esr: before 102.5

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.mozilla.org/security/advisories/mfsa2022-47/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-49/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-48/> (vendor-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1791975> (issue-tracking, permissions-required, vendor-advisory)

## Sources

- CVE List: [CVE-2022-45406](https://www.cve.org/CVERecord?id=CVE-2022-45406), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-45406](https://nvd.nist.gov/vuln/detail/CVE-2022-45406), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-45406 · Whole record: https://cve.day/CVE-2022-45406.json · Rebuilt by cve.day 2026-11-25T22:58:17.806Z
