# CVE-2022-46874: A file with a long filename could have had its filename truncated to remove the valid extension, leaving a malicious extension in its place.

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:12:35.233Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mozilla

## Description

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.<br/>*Note*: This issue was originally included in the advisories for Thunderbird 102.6, but a patch (specific to Thunderbird) was omitted, resulting in it actually being fixed in Thunderbird 102.6.1. This vulnerability affects Firefox < 108, Thunderbird < 102.6.1, Thunderbird < 102.6, and Firefox ESR < 102.6.

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 108; before 108.0
- Mozilla Thunderbird: from unspecified before 102.6.1; from unspecified before 102.6; before 102.6
- Mozilla Firefox ESR: from unspecified before 102.6
- mozilla firefox_esr: before 102.6

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://www.mozilla.org/security/advisories/mfsa2022-52/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-53/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-51/> (vendor-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2022-54/> (vendor-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1746139> (issue-tracking, permissions-required)
- <https://security.gentoo.org/glsa/202305-06> (vendor-advisory)
- <https://security.gentoo.org/glsa/202305-13> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-46874](https://www.cve.org/CVERecord?id=CVE-2022-46874), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-46874](https://nvd.nist.gov/vuln/detail/CVE-2022-46874), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46874 · Whole record: https://cve.day/CVE-2022-46874.json · Rebuilt by cve.day 2026-11-25T22:58:17.813Z
