CVE-2022-45405 Use after free in Firefox

Medium 6.5 Published Updated

A use-after-free vulnerability in Firefox and Thunderbird allows attackers to cause crashes or potentially execute code via arbitrary input stream handling.

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-45405?

CVE-2022-45405 is a medium-severity use after free vulnerability in Mozilla Firefox, 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

Freeing arbitrary <code>nsIInputStream</code>'s on a different thread than creation could have led to a use-after-free and potentially exploitable crash. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.

Weakness: CWE-416

Which versions are affected by CVE-2022-45405?

It affects 3 products.

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

How do I fix CVE-2022-45405?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45405 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-45405, GHSA-436h-cr23-m9m7, UBUNTU-CVE-2022-45405.

Is CVE-2022-45405 in your software?

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

Check your SBOMs for free