CVE-2021-38498 Use after free in Firefox

High 7.5 Published Updated

A use-after-free vulnerability in Firefox allows attackers to cause memory corruption and potentially execute arbitrary code via a crafted document.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-38498?

CVE-2021-38498 is a high-severity use after free vulnerability in Mozilla Firefox, published on 3 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

During process shutdown, a document could have caused a use-after-free of a languages service object, leading to memory corruption and a potentially exploitable crash. This vulnerability affects Firefox < 93, Thunderbird < 91.2, and Firefox ESR < 91.2.

Weakness: CWE-416

Which versions are affected by CVE-2021-38498?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2021-38498?

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-38498 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-f7wc-pcqv-5mwm, UBUNTU-CVE-2021-38498.

Is CVE-2021-38498 in your software?

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

Check your SBOMs for free