CVE-2020-6820: Mozilla Firefox And Thunderbird Use-After-Free
Mozilla Firefox and Thunderbird · listed in the CISA catalog of actively exploited vulnerabilities since 2021-11-03.
- CVSS v3.1 (CVE record)
- 8.1
- high
- EPSS (exploit probability, 30 days)
- 7.1%
- higher than 94.3% of all CVEs
- Added to CISA KEV
- 2021-11-03
- US federal due date 2022-05-03
- Ubuntu priority
- high
CVE-2020-6820 explained
CVE-2020-6820 is a use-after-free in Mozilla Firefox and Thunderbird, caused by a race condition when handling a ReadableStream. Mozilla is aware of targeted attacks in the wild abusing this flaw, and CISA lists it as a known exploited vulnerability. Affected versions are Thunderbird < 68.7.0, Firefox < 74.0.1 and Firefox ESR < 68.6.1.
Impact
An attacker can reach the flaw over the network without privileges or user interaction. Attack complexity is high because the race condition must be won. Successful exploitation can fully compromise confidentiality, integrity and availability within the affected browser or mail client process. The flaw has been used in targeted attacks, so unpatched systems face a real risk.
Who is affected
On Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS, the firefox and thunderbird source packages were affected. All have fixed versions in the standard archive. Ubuntu 16.04 LTS: 74.0.1+build1-0ubuntu0.16.04.1 and 1:68.7.0+build1-0ubuntu0.16.04.2. Ubuntu 18.04 LTS: 74.0.1+build1-0ubuntu0.18.04.1 and 1:68.7.0+build1-0ubuntu0.18.04.1. Ubuntu 20.04 LTS: 75.0+build3-0ubuntu1 and 1:68.7.0+build1-0ubuntu1. Ubuntu 16.04 LTS is end of life. Standard support has ended for 18.04 and 20.04.
Written with AI from the data on this page and checked against it automatically.
Official description
Under certain conditions, when handling a ReadableStream, a race condition can cause a use-after-free. We are aware of targeted attacks in the wild abusing this flaw. This vulnerability affects Thunderbird < 68.7.0, Firefox < 74.0.1, and Firefox ESR < 68.6.1.
CISA required action: Apply updates per vendor instructions.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Mozilla ThunderbirdAffectedFixed in
- < 68.7.0
- 68.7.0
- Mozilla FirefoxAffectedFixed in
- < 74.0.1
- 74.0.1
- Mozilla Firefox ESRAffectedFixed in
- < 68.6.1
- 68.6.1
| Product | Affected | Fixed in |
|---|---|---|
| Mozilla Thunderbird |
|
|
| Mozilla Firefox |
|
|
| Mozilla Firefox ESR |
|
|
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 20.04 LTS·firefox
Fixed: 75.0+build3-0ubuntu1
Ubuntu 20.04 LTS·thunderbird
Fixed: 1:68.7.0+build1-0ubuntu1
Ubuntu 18.04 LTS·firefox
Fixed: 74.0.1+build1-0ubuntu0.18.04.1
Ubuntu 18.04 LTS·thunderbird
Fixed: 1:68.7.0+build1-0ubuntu0.18.04.1
Ubuntu 16.04 LTS·firefox
ESM ended
Fixed: 74.0.1+build1-0ubuntu0.16.04.1
Ubuntu 16.04 LTS·thunderbird
ESM ended
Fixed: 1:68.7.0+build1-0ubuntu0.16.04.2
What to do
- Update
firefoxandthunderbirdto at least the fixed version listed for your release. - Close and restart all running Firefox and Thunderbird instances so the patched code is loaded.
- Upgrade systems still on Ubuntu 16.04 LTS to a supported release, since it is end of life.
- For Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) to keep receiving security fixes, or upgrade to a supported release.
- Verify installed package versions across all managed systems against the fixed versions.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace firefox with the source package from the table above (this CVE affects 2 source packages).
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="firefox"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="firefox"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Questions about CVE-2020-6820
- Is this vulnerability being exploited?
- Yes. Mozilla states it is aware of targeted attacks in the wild abusing this flaw. CISA added it to its Known Exploited Vulnerabilities catalog on 2021-11-03, with the required action to apply updates per vendor instructions.
- Do I need to restart anything after updating?
- Yes. Running Firefox and Thunderbird processes keep using the old code until they are closed and started again. Restart them after installing the update.
- Does a user have to click anything for an attack to succeed?
- The CVSS vector lists no user interaction and no privileges required, with network access. The attack complexity is high because a race condition is involved.
Written with AI from the data on this page and checked against it automatically.
References
Other advisories
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.