What is nsDocShell?
nsDocShell is a core Firefox/Gecko engine component that manages document loading and navigation within a browser tab — the internal machinery behind every page load, back/forward navigation, and frame transition.
Overview
CVE-2020-6819 is a use-after-free vulnerability (CWE-362, race condition leading to concurrent execution using shared resource) triggered by a race condition in the nsDocShell destructor under certain conditions. Mozilla shipped Firefox 74.0.1 and Thunderbird 68.6.1 as an emergency out-of-band release in April 2020, explicitly citing reports that this and the closely related CVE-2020-6820 (also enriched on this site) were being exploited in targeted attacks in the wild (CVSS 3.1: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, 8.1 High).
Technical Details
A race condition in nsDocShell's destructor logic means that, under specific timing conditions, the object can be freed while another part of the browser still holds and later uses a reference to it — the classic use-after-free pattern. Because triggering the race reliably requires precise timing (reflected in the "High" attack complexity rating), successful exploitation is harder to achieve consistently than a straightforward memory-safety bug, but was nonetheless confirmed in real-world attacks.
Discovery
Mozilla credited an anonymous researcher with reporting that the vulnerability was being exploited in the wild, prompting the emergency out-of-band release rather than waiting for the next scheduled Firefox update cycle.
Exploitation Context
Mozilla's advisory explicitly stated awareness of "targeted attacks in the wild" exploiting this vulnerability — one of the more direct vendor acknowledgments of active exploitation from this era. Emergency, unscheduled security releases like Firefox 74.0.1 are relatively rare and signal that Mozilla considered the confirmed in-the-wild exploitation serious enough to bypass its normal release cadence.
Remediation
- Update Firefox and Thunderbird to a version including this fix (74.0.1/68.6.1 or later) — this should occur automatically for most users via built-in auto-update, but verify on any system where updates might be restricted or delayed.
- Patch alongside CVE-2020-6820, which was fixed in the same emergency release and exploited in the same wave of targeted attacks.
- Enable and don't disable Firefox/Thunderbird's automatic update mechanism in managed environments, given how quickly Mozilla needed to respond to confirmed active exploitation.
- Treat any system that remained on Firefox 74.0/Thunderbird 68.6.0 or earlier past early April 2020 as a candidate for compromise assessment, given Mozilla's direct acknowledgment of targeted in-the-wild attacks.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2020-6819 |
| Vendor / Product | Mozilla — Firefox and Thunderbird |
| NVD Published | 2020-04-24 |
| NVD Last Modified | 2025-11-04 |
| CVSS 3.1 Score | 8.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-362 find similar ↗ |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2020-04-03 | Mozilla ships an emergency Firefox 74.0.1 / Thunderbird 68.6.1 release fixing this and the related CVE-2020-6820, citing reports of in-the-wild targeted attacks |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Mozilla Security Advisory MFSA2020-11 | Vendor Advisory |
| NVD — CVE-2020-6819 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |