CVE-2021-29972 Use after free in Firefox

High 8.8 Published Updated

A use-after-free flaw in the Cairo library allows attackers to execute arbitrary code in Firefox, requiring an upgrade to the latest version.

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-2021-29972?

CVE-2021-29972 is a high-severity use after free vulnerability in Mozilla Firefox, published on 5 Aug 2021. 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 use-after-free vulnerability was found via testing, and traced to an out-of-date Cairo library. Updating the library resolved the issue, and may have remediated other, unknown security vulnerabilities as well. This vulnerability affects Firefox < 90.

Weakness: CWE-416

Which versions are affected by CVE-2021-29972?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2021-29972?

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-2021-29972 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-cx7x-p2rh-c2m2, UBUNTU-CVE-2021-29972.

Is CVE-2021-29972 in your software?

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

Check your SBOMs for free