# CVE-2022-31745: Mozilla Firefox ESR and 2 others: Improper Validation of Array Index

CVE-2022-31745 is fixed in 5 products on 2 platforms, first by Mozilla Firefox (en-US) 101.0, released May 31, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-31745
- Priority: Routine
- CVSS: 4.3 (Medium)
- EPSS: 0.0037
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 31, 2022
- Weakness: CWE-129: Improper Validation of Array Index
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-31745

## Description

If array shift operations are not used, the Garbage Collector may have become confused about valid objects. This vulnerability affects Firefox < 101.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Mozilla Firefox (en-US) | 101.0 | [Mozilla Firefox (en-US) 101.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox-101.0.md) | May 31, 2022 |
| Windows apps | Mozilla Firefox ESR (en-US) | 102.0 | [Mozilla Firefox ESR (en-US) 102.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox.esr-102.0.md) | Jun 23, 2022 |
| Linux | firefox Ubuntu 18.04.6 LTS (bionic) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |
| Linux | firefox-geckodriver Ubuntu 18.04.6 LTS (bionic) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox-geckodriver 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-geckodriver-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox-geckodriver Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox-geckodriver 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-geckodriver-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 101.0.1+build1-0ubuntu0.18.04.1 | [firefox-mozsymbols 101.0.1+build1-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-101.0.1-build1-0ubuntu0.18.04.1.md) | May 31, 2022 |
| Linux | firefox-mozsymbols Ubuntu 20.04 LTS (focal) | 101.0.1+build1-0ubuntu0.20.04.1 | [firefox-mozsymbols 101.0.1+build1-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-mozsymbols-101.0.1-build1-0ubuntu0.20.04.1.md) | May 31, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
