# CVE-2020-12387: A race condition when running shutdown code for Web Worker led to a use-after-free vulnerability.

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/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): 1.44%, higher than 73% of CVEs (2026-12-01)
- Published: 2020-05-26T17:04:56.000Z
- Modified: 2026-06-17T02:51:44.313Z
- Weaknesses: CWE-362, CWE-416
- Assigned by: mozilla

## Description

A race condition when running shutdown code for Web Worker led to a use-after-free vulnerability. This resulted in a potentially exploitable crash. This vulnerability affects Firefox ESR < 68.8, Firefox < 76, and Thunderbird < 68.8.0.

(As written by CVE List.)

## Affected

- Mozilla Firefox ESR: from unspecified before 68.8
- Mozilla Firefox: from unspecified before 76; before 76.0
- Mozilla Thunderbird: from unspecified before 68.8.0; before 68.8.0
- mozilla firefox_esr: before 68.8.0

## Every score

- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.mozilla.org/security/advisories/mfsa2020-18/> (third-party-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2020-16/> (third-party-advisory)
- <https://www.mozilla.org/security/advisories/mfsa2020-17/> (third-party-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1545345> (issue-tracking, permissions-required)
- <https://usn.ubuntu.com/4373-1/> (broken-link, vendor-advisory)
- <https://security.gentoo.org/glsa/202005-03> (third-party-advisory)
- <https://security.gentoo.org/glsa/202005-04> (third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2020-12387 · Whole record: https://cve.day/CVE-2020-12387.json · Rebuilt by cve.day 2026-11-25T22:57:52.583Z
