# CVE-2022-40958: Mozilla Thunderbird and 4 others: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CVE-2022-40958 is fixed in 13 products on 2 platforms, first by Mozilla Thunderbird (en-US) 102.3.0, released September 14, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-40958
- Priority: High
- CVSS: 8.8 (Important)
- EPSS: 0.0118
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 26, 2022
- Weakness: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-40958

## Description

By injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus overwrite cookies from a secure context, leading to session fixation and other attacks. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Mozilla Firefox (en-US) | 105.0 | [Mozilla Firefox (en-US) 105.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox-105.0.md) | Sep 21, 2022 |
| Windows apps | Mozilla Firefox ESR (en-US) | 115.4.0 | [Mozilla Firefox ESR (en-US) 115.4.0](https://patchblox.com/security/data/fix/windows-app/mozilla.firefox.esr-115.4.0.md) | Oct 17, 2023 |
| Windows apps | Mozilla Thunderbird (en-US) | 102.3.0 | [Mozilla Thunderbird (en-US) 102.3.0](https://patchblox.com/security/data/fix/windows-app/mozilla.thunderbird-102.3.0.md) | Sep 14, 2022 |
| Linux | firefox RHEL 8 | 0:102.3.0-6.el8_6 | [RHSA-2022:6702](https://patchblox.com/security/data/fix/linux/rhsa-2022-6702.md) | Sep 26, 2022 |
| Linux | firefox RHEL 9 | 0:102.3.0-6.el9_0 | [RHSA-2022:6700](https://patchblox.com/security/data/fix/linux/rhsa-2022-6700.md) | Sep 26, 2022 |
| Linux | firefox Ubuntu 18.04.6 LTS (bionic) | 105.0+build2-0ubuntu0.18.04.1 | [firefox 105.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-105.0-build2-0ubuntu0.18.04.1.md) | Sep 27, 2022 |
| Linux | firefox Ubuntu 20.04 LTS (focal) | 105.0+build2-0ubuntu0.20.04.1 | [firefox 105.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-105.0-build2-0ubuntu0.20.04.1.md) | Sep 27, 2022 |
| Linux | firefox almalinux 8 | 102.3.0-6.el8_6.alma | [ALSA-2022:6702](https://patchblox.com/security/data/fix/linux/alsa-2022-6702.md) | Sep 26, 2022 |
| Linux | firefox almalinux 9 | 102.3.0-6.el9_0.alma | [ALSA-2022:6700](https://patchblox.com/security/data/fix/linux/alsa-2022-6700.md) | Sep 26, 2022 |
| Linux | firefox ol 8 | 0:102.3.0-6.0.1.el8_6 | [ELSA-2022-6702](https://patchblox.com/security/data/fix/linux/elsa-2022-6702.md) | Sep 28, 2022 |
| Linux | firefox ol 9 | 0:102.3.0-6.0.1.el9_0 | [ELSA-2022-6700](https://patchblox.com/security/data/fix/linux/elsa-2022-6700.md) | Sep 28, 2022 |
| Linux | firefox rocky 8 | 0:102.3.0-6.el8_6 | [RLSA-2022:6702](https://patchblox.com/security/data/fix/linux/rlsa-2022-6702.md) | Sep 26, 2022 |
| Linux | firefox-esr Debian 12.15 (bookworm) | 102.3.0esr-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | firefox-esr Debian 13.5 (trixie) | 102.3.0esr-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | firefox-esr Debian 14 | 102.3.0esr-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | firefox-geckodriver Ubuntu 18.04.6 LTS (bionic) | 105.0+build2-0ubuntu0.18.04.1 | [firefox-geckodriver 105.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-geckodriver-105.0-build2-0ubuntu0.18.04.1.md) | Sep 27, 2022 |
| Linux | firefox-geckodriver Ubuntu 20.04 LTS (focal) | 105.0+build2-0ubuntu0.20.04.1 | [firefox-geckodriver 105.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-geckodriver-105.0-build2-0ubuntu0.20.04.1.md) | Sep 27, 2022 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 105.0+build2-0ubuntu0.18.04.1 | [firefox-mozsymbols 105.0+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-105.0-build2-0ubuntu0.18.04.1.md) | Sep 27, 2022 |
| Linux | firefox-mozsymbols Ubuntu 20.04 LTS (focal) | 105.0+build2-0ubuntu0.20.04.1 | [firefox-mozsymbols 105.0+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-firefox-mozsymbols-105.0-build2-0ubuntu0.20.04.1.md) | Sep 27, 2022 |
| Linux | thunderbird Debian 12.15 (bookworm) | 1:102.3.0-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | thunderbird Debian 13.5 (trixie) | 1:102.3.0-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | thunderbird Debian 14 | 1:102.3.0-1 | [DEBIAN-CVE-2022-40958](https://patchblox.com/security/data/fix/linux/debian-cve-2022-40958.md) | Dec 22, 2022 |
| Linux | thunderbird RHEL 8 | 0:102.3.0-3.el8_6 | [RHSA-2022:6708](https://patchblox.com/security/data/fix/linux/rhsa-2022-6708.md) | Sep 26, 2022 |
| Linux | thunderbird RHEL 9 | 0:102.3.0-3.el9_0 | [RHSA-2022:6717](https://patchblox.com/security/data/fix/linux/rhsa-2022-6717.md) | Sep 26, 2022 |
| Linux | thunderbird Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [thunderbird 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-thunderbird-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [thunderbird 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-thunderbird-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [thunderbird 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-thunderbird-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird almalinux 8 | 102.3.0-3.el8_6.alma | [ALSA-2022:6708](https://patchblox.com/security/data/fix/linux/alsa-2022-6708.md) | Sep 26, 2022 |
| Linux | thunderbird almalinux 9 | 102.3.0-3.el9_0.alma | [ALSA-2022:6717](https://patchblox.com/security/data/fix/linux/alsa-2022-6717.md) | Sep 26, 2022 |
| Linux | thunderbird ol 8 | 0:102.3.0-3.0.1.el8_6 | [ELSA-2022-6708](https://patchblox.com/security/data/fix/linux/elsa-2022-6708.md) | Sep 28, 2022 |
| Linux | thunderbird ol 9 | 0:102.3.0-3.0.1.el9_0 | [ELSA-2022-6717](https://patchblox.com/security/data/fix/linux/elsa-2022-6717.md) | Sep 28, 2022 |
| Linux | thunderbird rocky 8 | 0:102.3.0-3.el8_6 | [RLSA-2022:6708](https://patchblox.com/security/data/fix/linux/rlsa-2022-6708.md) | Sep 26, 2022 |
| Linux | thunderbird-gnome-support Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [thunderbird-gnome-support 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-thunderbird-gnome-support-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird-gnome-support Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [thunderbird-gnome-support 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-thunderbird-gnome-support-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird-gnome-support Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [thunderbird-gnome-support 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-thunderbird-gnome-support-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [thunderbird-mozsymbols 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-thunderbird-mozsymbols-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird-mozsymbols Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [thunderbird-mozsymbols 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-thunderbird-mozsymbols-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | thunderbird-mozsymbols Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [thunderbird-mozsymbols 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-thunderbird-mozsymbols-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-calendar-timezones Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [xul-ext-calendar-timezones 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xul-ext-calendar-timezones-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-calendar-timezones Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [xul-ext-calendar-timezones 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-xul-ext-calendar-timezones-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-calendar-timezones Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [xul-ext-calendar-timezones 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-xul-ext-calendar-timezones-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-gdata-provider Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [xul-ext-gdata-provider 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xul-ext-gdata-provider-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-gdata-provider Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [xul-ext-gdata-provider 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-xul-ext-gdata-provider-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-gdata-provider Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [xul-ext-gdata-provider 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-xul-ext-gdata-provider-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-lightning Ubuntu 18.04.6 LTS (bionic) | 1:102.4.2+build2-0ubuntu0.18.04.1 | [xul-ext-lightning 1:102.4.2+build2-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-xul-ext-lightning-1-102.4.2-build2-0ubuntu0.18.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-lightning Ubuntu 20.04 LTS (focal) | 1:102.4.2+build2-0ubuntu0.20.04.1 | [xul-ext-lightning 1:102.4.2+build2-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-xul-ext-lightning-1-102.4.2-build2-0ubuntu0.20.04.1.md) | Oct 26, 2022 |
| Linux | xul-ext-lightning Ubuntu 22.04.1 LTS (jammy) | 1:102.4.2+build2-0ubuntu0.22.04.1 | [xul-ext-lightning 1:102.4.2+build2-0ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-xul-ext-lightning-1-102.4.2-build2-0ubuntu0.22.04.1.md) | Oct 26, 2022 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
