{"schemaVersion":3,"id":"CVE-2020-12416","aliases":["UBUNTU-CVE-2020-12416"],"status":"published","duplicateOf":null,"title":null,"description":"A VideoStreamEncoder may have been freed in a race condition with VideoBroadcaster::AddOrUpdateSink, resulting in a use-after-free, memory corruption, and a potentially exploitable crash. This vulnerability affects Firefox < 78.","dates":{"published":"2020-07-09T14:40:59.000Z","modified":"2024-08-04T11:56:52.058Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0135,"percentile":0.71033,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.0135},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0135,"percentile":0.71033}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0135,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0135,"percentile":0.71033}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_79C6CFB440596CAC","name":"Exploit Reference (bugzilla.mozilla.org)","source":"reference","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1639734","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 78.0.1+build1-0ubuntu0.16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 78.0.1+build1-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 78.0.1+build1-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 78.0.1+build1-0ubuntu0.16.04.1 | < 78.0.1+build1-0ubuntu0.18.04.1 | < 78.0.1+build1-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs38","name":"mozjs38","label":"mozjs38","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs38","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs52","name":"mozjs52","label":"mozjs52","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs52","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mozjs68","name":"mozjs68","label":"mozjs68","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mozjs68","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"< 1:78.8.1+build1-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:78.7.1+build1-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:78.8.1+build1-0ubuntu0.18.04.1 | < 1:78.7.1+build1-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 78","noFixRecorded":false,"fixedIn":null},{"text":"< 78.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 78 | < 78.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null},{"text":"15.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1 | 15.2","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://www.mozilla.org/security/advisories/mfsa2020-24/","label":"www.mozilla.org/security/advisories/mfsa2020-24/","hostname":"www.mozilla.org","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1639734","label":"bugzilla.mozilla.org/show_bug.cgi?id=1639734","hostname":"bugzilla.mozilla.org","tags":["X Refsource MISC","Exploit","Issue Tracking","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00027.html","label":"lists.opensuse.org/opensuse-security-announce/2020-07/msg00027.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00049.html","label":"lists.opensuse.org/opensuse-security-announce/2020-07/msg00049.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202007-10","label":"security.gentoo.org/glsa/202007-10","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-12416","label":"ubuntu.com/security/CVE-2020-12416","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2020-24/#CVE-2020-12416","label":"www.mozilla.org/en-US/security/advisories/mfsa2020-24/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2020-29/#CVE-2020-12416","label":"www.mozilla.org/en-US/security/advisories/mfsa2020-29/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4408-1","label":"ubuntu.com/security/notices/USN-4408-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-12416","label":"www.cve.org/CVERecord?id=CVE-2020-12416","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["MGASA-2020-0378","OPENSUSE-SU-2020:0983-1","OPENSUSE-SU-2020:1017-1","OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2020:14421-1","SUSE-SU-2020:1898-1","SUSE-SU-2020:1899-1","USN-4408-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:0983-1","OPENSUSE-SU-2020:1017-1","OPENSUSE-SU-2024:10600-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2020:14421-1","SUSE-SU-2020:1898-1","SUSE-SU-2020:1899-1","USN-4408-1"]},"timeline":[{"kind":"published","date":"2020-07-09T14:40:59.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T11:56:52.058Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:19:26.918Z","stale":false,"partial":false}}