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

21 affected componentsFixes available
Mozilla Thunderbird<102.6.1
102.6.1
Mozilla Firefox<108.0
Mozilla Firefox ESR<102.6
Mozilla Thunderbird<102.6
Mozilla Firefox ESR<102.6
102.6
Mozilla Firefox<108
108
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-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
debian/firefox
159.0.1-1
debian/firefox-esr
140.12.0esr-1~deb12u1153.6.0esr-1~deb12u2140.15.0esr-1~deb13u1153.6.0esr-1~deb13u1153.5.1esr-1153.6.0esr-1
debian/thunderbird
1:140.12.0esr-1~deb12u11:153.6.0esr-1~deb12u21:140.12.0esr-1~deb13u11:153.6.0esr-1~deb13u11:153.5.0esr-11:153.6.0esr-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.6.1
  2. Upgrade

    Upgrade Firefox to a version that resolves this vulnerability.

    Fixed in 108
  3. Upgrade

    Upgrade Firefox ESR to a version that resolves this vulnerability.

    Fixed in 102.6

Event History

Dec 13, 2022
CVE Published
12:00 AM
Data Sourced
via Mozilla·12:00 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
DescriptionSeverityAffected 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