Vulnerabilities / CVE-2022-45406

critical

CVE-2022-45406

Mozilla: Use-after-free of a JavaScript Realm

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (high), AlmaLinux (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 5.0mozjs, mozjs-devel102.12.0-1.ph5
alma 8firefox, thunderbird102.5.0-1.el8_7.alma and 1 more
alma 9firefox, thunderbird102.5.0-1.el9_1.alma and 1 more
alpine 3.18firefox-esr102.5.0-r0
alpine 3.19firefox-esr102.5.0-r0
alpine 3.20firefox-esr102.5.0-r0
alpine 3.21firefox-esr102.5.0-r0
alpine 3.22firefox-esr102.5.0-r0
alpine 3.23firefox-esr102.5.0-r0
debian 10firefox-esr, thunderbird102.5.0esr-1~deb10u1 and 1 more
debian 11firefox-esr, thunderbird102.5.0esr-1~deb11u1 and 1 more
debian 12firefox-esr, thunderbird102.5.0esr-1 and 1 more
Show all 43 entries from 28 sources
SourcePackageFixed in
Photon OS 5.0mozjs102.12.0-1.ph5
Photon OS 5.0mozjs-devel102.12.0-1.ph5
alma 8firefox102.5.0-1.el8_7.alma
alma 8thunderbird102.5.0-2.el8_7.alma
alma 9firefox102.5.0-1.el9_1.alma
alma 9thunderbird102.5.0-2.el9_1.alma
alpine 3.18firefox-esr102.5.0-r0
alpine 3.19firefox-esr102.5.0-r0
alpine 3.20firefox-esr102.5.0-r0
alpine 3.21firefox-esr102.5.0-r0
alpine 3.22firefox-esr102.5.0-r0
alpine 3.23firefox-esr102.5.0-r0
debian 10firefox-esr102.5.0esr-1~deb10u1
debian 10thunderbird1:102.5.0-1~deb10u1
debian 11firefox-esr102.5.0esr-1~deb11u1
debian 11thunderbird1:102.5.0-1~deb11u1
debian 12firefox-esr102.5.0esr-1
debian 12thunderbird1:102.5.0-1
debian 13firefox-esr102.5.0esr-1
debian 13thunderbird1:102.5.0-1
debian 14firefox-esr102.5.0esr-1
debian 14thunderbird1:102.5.0-1
echofirefox-esr102.5.0esr-1
echothunderbird1:102.5.0-1
Oracle Linux 7firefox102.5.0-1.0.1.el7_9
Oracle Linux 7thunderbird102.5.0-2.0.1.el7_9
Oracle Linux 8firefox102.5.0-1.0.1.el8_7
Oracle Linux 8thunderbird102.5.0-2.0.1.el8_7
Oracle Linux 9firefox102.5.0-1.0.1.el9_1
Oracle Linux 9thunderbird102.5.0-2.0.1.el9_1
rapidfort Oracle Linux 9firefox0:102.5.0-1.0.1.el9_1
rapidfort Oracle Linux 9thunderbird0:102.5.0-2.0.1.el9_1
Red Hatfirefoxno fix listed
Red Hatthunderbirdno fix listed
rocky 8firefox102.5.0-1.el8_7
rocky 8thunderbird102.5.0-2.el8_7
ubuntu 18.04thunderbird1:102.7.1+build2-0ubuntu0.18.04.1
ubuntu 20.04thunderbird1:102.7.1+build2-0ubuntu0.20.04.1
ubuntu 22.04thunderbird1:102.7.1+build2-0ubuntu0.22.04.1
ubuntu 22.10thunderbird1:102.7.1+build2-0ubuntu0.22.10.1
ubuntu 23.04thunderbird1:102.7.1+build2-0ubuntu1
ubuntu 23.10thunderbird1:102.7.1+build2-0ubuntu1
ubuntu 24.04thunderbird1:102.7.1+build2-0ubuntu1

References

All 56 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.