CVE-2022-45405: Use After Free

Published Nov 15, 2022
·
Updated

Freeing arbitrary nsIInputStream's on a different thread than creation could have led to a use-after-free and potentially exploitable crash.

External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2022-49/#CVE-2022-45405

Other sources

Freeing arbitrary <code>nsIInputStream</code>'s on a different thread than creation could have led to a use-after-free and potentially exploitable crash. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.

Freeing arbitrary nsIInputStream's on a different thread than creation could have led to a use-after-free and potentially exploitable crash.

Affected Software

23 affected componentsFixes available
Mozilla Thunderbird<102.5
102.5
Mozilla Firefox<107.0
Mozilla Firefox ESR<102.5
Mozilla Thunderbird<102.5
Mozilla Firefox ESR<102.5
102.5
Mozilla Firefox<107
107
redhat/thunderbird<102.5
102.5
redhat/firefox<102.5
102.5
debian/firefox-esr<102.5.0esr-1
102.5.0esr-1
debian/firefox-esr<102.5.0esr-1
102.5.0esr-1
debian/firefox-esr<102.5.0esr-1
102.5.0esr-1
debian/thunderbird<1:102.5.0-1
1:102.5.0-1
debian/thunderbird<1:102.5.0-1
1:102.5.0-1
debian/thunderbird<1:102.5.0-1
1:102.5.0-1
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
alpine/firefox-esr<102.5.0-r0
102.5.0-r0
debian/firefox
107.0-1
debian/firefox-esr
102.5.0esr-1~deb10u1102.5.0esr-1~deb11u1102.5.0esr-1
debian/thunderbird
1:102.5.0-1~deb10u11:102.5.0-1~deb11u11:102.5.0-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 102.5
  2. Upgrade

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

    Fixed in 102.5
  3. Upgrade

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

    Fixed in 107
  4. Upgrade

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

    Fixed in 102.5
  5. Upgrade

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

    Fixed in 102.5
  6. Upgrade

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

    Fixed in 102.5.0esr-1
  7. Upgrade

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

    Fixed in 1:102.5.0-1
  8. Upgrade

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

    Fixed in 102.5.0-r0
  9. Upgrade

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

    Fixed in 107.0-1
  10. Upgrade

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

    Fixed in 102.5.0esr-1~deb10u1Fixed in 102.5.0esr-1~deb11u1Fixed in 102.5.0esr-1
  11. Upgrade

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

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

Event History

Nov 15, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Nov 16, 2022
Data Sourced
via Red Hat·10:55 AM
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
Jan 4, 2023
Data Sourced
04:37 PM
Weakness
Apr 15, 2025
Updated
via NVD·04:15 PM
SeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:02 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-45405?

CVE-2022-45405 is a vulnerability that allows freeing arbitrary nsIInputStream's on a different thread than creation, leading to a use-after-free and potentially exploitable crash.

2

Which software is affected by CVE-2022-45405?

CVE-2022-45405 affects Firefox ESR versions before 102.5, Thunderbird versions before 102.5, and Firefox versions before 107.

3

What is the severity of CVE-2022-45405?

The severity of CVE-2022-45405 is high with a CVSS score of 6.5.

4

How can CVE-2022-45405 be exploited?

CVE-2022-45405 can be exploited by freeing arbitrary nsIInputStream's on a different thread than creation, causing a use-after-free vulnerability.

5

How can I fix CVE-2022-45405?

To fix CVE-2022-45405, update Firefox ESR to version 102.5 or later, Thunderbird to version 102.5 or later, or Firefox to version 107 or later.

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