CVE-2022-46874: Code Injection

Published Dec 13, 2022
·
Updated

A file with a long filename could have had its filename truncated to remove the valid extension, leaving a malicious extension in its place. This could have potentially led to user confusion and the execution of malicious code.

Other sources

A file with a long filename could have had its filename truncated to remove the valid extension, leaving a malicious extension in its place. This could potentially led to user confusion and the execution of malicious code.

Affected Software

34 affected componentsFixes available
Mozilla Firefox<108.0
Mozilla Firefox ESR<102.6
Mozilla Thunderbird<102.6
Mozilla Firefox ESR<102.6
102.6
Mozilla Firefox<108
108
redhat/firefox<102.6
102.6
redhat/thunderbird<102.6.1
102.6.1
Mozilla Thunderbird<102.6.1
102.6.1
debian/firefox-esr<102.6.0esr-1
102.6.0esr-1
debian/firefox-esr<102.6.0esr-1
102.6.0esr-1
debian/firefox-esr<102.6.0esr-1
102.6.0esr-1
debian/thunderbird<1:102.6.0-1
1:102.6.0-1
debian/thunderbird<1:102.6.0-1
1:102.6.0-1
debian/thunderbird<1:102.6.0-1
1:102.6.0-1
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
alpine/firefox-esr<102.6.0-r0
102.6.0-r0
debian/firefox
108.0-1
debian/firefox-esr
102.6.0esr-1~deb10u1102.6.0esr-1~deb11u1102.6.0esr-1
debian/thunderbird
1:102.6.0-1~deb10u11:102.6.0-1~deb11u11:102.6.0-1
ubuntu/firefox<108.0+build2-0ubuntu0.18.04.1
108.0+build2-0ubuntu0.18.04.1
ubuntu/thunderbird<1:102.7.1+build2-0ubuntu0.18.04.1
1:102.7.1+build2-0ubuntu0.18.04.1
ubuntu/mozjs52*
ubuntu/mozjs38*
ubuntu/firefox<108.0+build2-0ubuntu0.20.04.1
108.0+build2-0ubuntu0.20.04.1
ubuntu/thunderbird<1:102.7.1+build2-0ubuntu0.20.04.1
1:102.7.1+build2-0ubuntu0.20.04.1
ubuntu/mozjs68*
ubuntu/mozjs52*
ubuntu/mozjs78*
ubuntu/mozjs91*
ubuntu/thunderbird<1:102.7.1+build2-0ubuntu0.22.04.1
1:102.7.1+build2-0ubuntu0.22.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 102.6
  2. Upgrade

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

    Fixed in 108
  3. Upgrade

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

    Fixed in 102.6
  4. Upgrade

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

    Fixed in 102.6
  5. Upgrade

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

    Fixed in 102.6.1
  6. Upgrade

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

    Fixed in 102.6.1
  7. Upgrade

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

    Fixed in 102.6.0esr-1
  8. Upgrade

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

    Fixed in 1:102.6.0-1
  9. Upgrade

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

    Fixed in 102.6.0-r0
  10. Upgrade

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

    Fixed in 108.0-1
  11. Upgrade

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

    Fixed in 102.6.0esr-1~deb10u1Fixed in 102.6.0esr-1~deb11u1Fixed in 102.6.0esr-1
  12. Upgrade

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

    Fixed in 1:102.6.0-1~deb10u1Fixed in 1:102.6.0-1~deb11u1Fixed in 1:102.6.0-1
  13. Upgrade

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

    Fixed in 108.0+build2-0ubuntu0.18.04.1
  14. Upgrade

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

    Fixed in 1:102.7.1+build2-0ubuntu0.18.04.1
  15. Upgrade

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

    Fixed in 108.0+build2-0ubuntu0.20.04.1
  16. Upgrade

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

    Fixed in 1:102.7.1+build2-0ubuntu0.20.04.1
  17. Upgrade

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

    Fixed in 1:102.7.1+build2-0ubuntu0.22.04.1
  18. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 108
  19. Upgrade

    Upgrade Thunderbird to a version that resolves this vulnerability.

    Fixed in 102.6.1

Event History

Dec 13, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
DescriptionAffected Software
Updated
via Mozilla·12:00 AM
Affected Software
Dec 14, 2022
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·03:42 PM
DescriptionSeverityAffected Software
Dec 20, 2022
Updated
12:00 AM
DescriptionAffected Software
Updated
via Mozilla·12:00 AM
Affected 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
DescriptionSeverityAffected Software
Apr 15, 2025
Data Sourced
via NVD·02:15 PM
Weakness
Updated
via NVD·02:15 PM
SeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2022-46874?

CVE-2022-46874 is a vulnerability where a file with a long filename could have its filename truncated, potentially leading to user confusion and the execution of malicious code.

2

Which products are affected by CVE-2022-46874?

CVE-2022-46874 affects Mozilla Thunderbird, Firefox ESR, Firefox, and other related products.

3

What is the severity of CVE-2022-46874?

CVE-2022-46874 has a severity rating of 8.8 (high).

4

How can CVE-2022-46874 be exploited?

CVE-2022-46874 can be exploited by having a file with a long filename, which gets truncated and has a malicious extension added.

5

Are there any official references for CVE-2022-46874?

Yes, you can find official references for CVE-2022-46874 at the following links: [Bugzilla](https://bugzilla.mozilla.org/show_bug.cgi?id=1746139), [Mozilla Security Advisory - MFS](https://www.mozilla.org/en-US/security/advisories/mfsa2022-54/), [Mozilla Security Advisory - MFS](https://www.mozilla.org/en-US/security/advisories/mfsa2022-52/)

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