CVE-2022-34481: Integer Overflow

Published Jun 28, 2022
·
Updated

In the nsTArrayImpl::ReplaceElementsAt() function, an integer overflow could have occurred when the number of elements to replace was too large for the container.

External Reference: https://www.mozilla.org/en-US/security/advisories/mfsa2022-25/#CVE-2022-34481

Other sources

In the <code>nsTArrayImpl::ReplaceElementsAt()</code> function, an integer overflow could have occurred when the number of elements to replace was too large for the container. This vulnerability affects Firefox < 102, Firefox ESR < 91.11, Thunderbird < 102, and Thunderbird < 91.11.

In the nsTArrayImpl::ReplaceElementsAt() function, an integer overflow could have occurred when the number of elements to replace was too large for the container.

Affected Software

47 affected componentsFixes available
Mozilla Firefox ESR<91.11
91.11
Mozilla Firefox<102.0
Mozilla Firefox ESR<91.11
Mozilla Thunderbird<91.11
Mozilla Firefox<102
102
Mozilla Thunderbird<102
102
Mozilla Thunderbird<91.11
91.11
redhat/firefox<91.11
91.11
redhat/thunderbird<91.11
91.11
redhat/thunderbird<102
102
debian/firefox-esr<91.11.0esr-1
91.11.0esr-1
debian/firefox-esr<91.11.0esr-1
91.11.0esr-1
debian/firefox-esr<91.11.0esr-1
91.11.0esr-1
debian/thunderbird<1:91.11.0-1
1:91.11.0-1
debian/thunderbird<1:91.11.0-1
1:91.11.0-1
debian/thunderbird<1:91.11.0-1
1:91.11.0-1
debian/firefox
102.0-1
debian/firefox-esr
91.11.0esr-1~deb9u191.11.0esr-1~deb10u191.11.0esr-1~deb11u191.11.0esr-1
debian/thunderbird
1:91.11.0-1~deb10u11:91.11.0-1~deb11u11:91.11.0-1
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox<102.0-r0
102.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/firefox-esr<91.11.0-r0
91.11.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/librewolf<102.0-r0
102.0-r0
alpine/thunderbird<91.11.0-r0
91.11.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0
alpine/thunderbird<102.0-r0
102.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 91.11
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 102
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 91.11
  4. Upgrade

    Upgrade redhat/firefox to a version that resolves this vulnerability.

    Fixed in 91.11
  5. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.11
  6. Upgrade

    Upgrade redhat/thunderbird to a version that resolves this vulnerability.

    Fixed in 102
  7. Upgrade

    Upgrade alpine/firefox to a version that resolves this vulnerability.

    Fixed in 102.0-r0
  8. Upgrade

    Upgrade alpine/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.11.0-r0
  9. Upgrade

    Upgrade alpine/librewolf to a version that resolves this vulnerability.

    Fixed in 102.0-r0
  10. Upgrade

    Upgrade alpine/thunderbird to a version that resolves this vulnerability.

    Fixed in 91.11.0-r0
  11. Upgrade

    Upgrade alpine/thunderbird to a version that resolves this vulnerability.

    Fixed in 102.0-r0
  12. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.11.0esr-1
  13. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:91.11.0-1
  14. Upgrade

    Upgrade debian/firefox to a version that resolves this vulnerability.

    Fixed in 102.0-1
  15. Upgrade

    Upgrade debian/firefox-esr to a version that resolves this vulnerability.

    Fixed in 91.11.0esr-1~deb9u1Fixed in 91.11.0esr-1~deb10u1Fixed in 91.11.0esr-1~deb11u1Fixed in 91.11.0esr-1
  16. Upgrade

    Upgrade debian/thunderbird to a version that resolves this vulnerability.

    Fixed in 1:91.11.0-1~deb10u1Fixed in 1:91.11.0-1~deb11u1Fixed in 1:91.11.0-1

Event History

Jun 28, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Jun 29, 2022
Data Sourced
via Red Hat·12:20 PM
DescriptionSeverityAffected Software
Dec 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionAffected Software
Dec 30, 2022
Data Sourced
06:45 PM
Weakness
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-34481?

CVE-2022-34481 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2022-34481?

To fix CVE-2022-34481, update Firefox or Thunderbird to version 102 or Firefox ESR and Thunderbird to version 91.11 or later.

3

Which software versions are affected by CVE-2022-34481?

CVE-2022-34481 affects Firefox versions prior to 102, Firefox ESR versions prior to 91.11, and Thunderbird versions prior to 102 and 91.11.

4

What type of vulnerability is CVE-2022-34481?

CVE-2022-34481 is an integer overflow vulnerability that can occur in the nsTArray_Impl::ReplaceElementsAt() function.

5

Who is the vendor for CVE-2022-34481?

The vendor for CVE-2022-34481 is Mozilla.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203