Skip to content
Server Security Center
KEVhigh8.1

CVE-2020-6819: 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)
3.0%
higher than 87.8% of all CVEs
Added to CISA KEV
2021-11-03
US federal due date 2022-05-03
Ubuntu priority
high

CVE-2020-6819 explained

CVE-2020-6819 is a use-after-free in Mozilla Firefox and Thunderbird, caused by a race condition when the nsDocShell destructor runs. Mozilla reports targeted attacks in the wild abusing this flaw, and CISA lists it as known exploited. It affects Thunderbird before 68.7.0, Firefox before 74.0.1 and Firefox ESR before 68.6.1.

Impact

An attacker over the network can trigger the flaw without privileges or user interaction. Attack complexity is high because a race condition must be won. If it succeeds, the attacker can fully compromise confidentiality, integrity and availability within the affected browser or mail client. Mozilla is aware of targeted attacks using this flaw.

Who is affected

The firefox and thunderbird source packages are affected on Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS, and all have fixed versions in the standard archive. On 16.04 LTS the fixes are 74.0.1+build1-0ubuntu0.16.04.1 and 1:68.7.0+build1-0ubuntu0.16.04.2. On 18.04 LTS they are 74.0.1+build1-0ubuntu0.18.04.1 and 1:68.7.0+build1-0ubuntu0.18.04.1. On 20.04 LTS they are 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 LTS and 20.04 LTS.

Written with AI from the data on this page and checked against it automatically.

Official description

Under certain conditions, when running the nsDocShell destructor, 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 Thunderbird
    Affected
    • < 68.7.0
    Fixed in
    • 68.7.0
  • Mozilla Firefox
    Affected
    • < 74.0.1
    Fixed in
    • 74.0.1
  • Mozilla Firefox ESR
    Affected
    • < 68.6.1
    Fixed in
    • 68.6.1

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.

What to do

  1. Update the firefox and thunderbird packages to at least the fixed version for your release.
  2. Close and restart all running Firefox and Thunderbird instances so the patched code is loaded.
  3. Confirm the installed package versions match or exceed the fixed versions listed.
  4. Upgrade systems on end-of-life Ubuntu 16.04 LTS to a supported release.
  5. For Ubuntu 18.04 LTS and 20.04 LTS, enable Ubuntu Pro (ESM) to keep receiving future fixes, or upgrade to a supported release.

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" ;; esac

3. 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-416 Use After Free

Questions about CVE-2020-6819

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 and requires applying updates per vendor instructions.
Which versions fix the issue?
Upstream, Thunderbird 68.7.0, Firefox 74.0.1 and Firefox ESR 68.6.1 are not affected. On Ubuntu, install the fixed firefox and thunderbird package versions listed for your release.
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.

Written with AI from the data on this page and checked against it automatically.

References

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.