CVE-2022-38476 Use after free in Firefox ESR

High 7.5 Published Updated

A use-after-free vulnerability in Firefox ESR and Thunderbird allows attackers to execute arbitrary code via a race condition during master password changes.

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-2022-38476?

CVE-2022-38476 is a high-severity use after free vulnerability in Mozilla Firefox Esr, published on 22 Dec 2022. 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 data race could occur in the <code>PK11_ChangePW</code> function, potentially leading to a use-after-free vulnerability. In Firefox, this lock protected the data when a user changed their master password. This vulnerability affects Firefox ESR < 102.2 and Thunderbird < 102.2.

Weakness: CWE-416

Which versions are affected by CVE-2022-38476?

It affects 2 products.

Products include Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2022-38476?

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-2022-38476 being exploited?

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

All Mozilla Firefox Esr vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-38476, GHSA-mj64-2668-m2rv, UBUNTU-CVE-2022-38476.

Is CVE-2022-38476 in your software?

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

Check your SBOMs for free