CVE-2020-12416 Use after free in Firefox

High 8.8 Published Updated

A race condition in Firefox's VideoStreamEncoder leads to a use-after-free, potentially allowing attackers to execute arbitrary code or cause a crash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-12416?

CVE-2020-12416 is a high-severity use after free vulnerability in Mozilla Firefox, published on 9 Jul 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-416, CWE-362

Which versions are affected by CVE-2020-12416?

It affects 2 products.

Products include Mozilla Firefox, Opensuse Leap.

How do I fix CVE-2020-12416?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-12416 being exploited?

There is no known exploitation of CVE-2020-12416 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-gphq-fwm7-x5g2, UBUNTU-CVE-2020-12416.

Is CVE-2020-12416 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free