CVE-2022-22740 Use after free in Firefox

High 8.8 Published Updated

A use-after-free vulnerability in Firefox and Thunderbird allows attackers to cause a crash or potentially execute arbitrary code via crafted network requests.

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

CVE-2022-22740 is a high-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

Certain network request objects were freed too early when releasing a network request handle. This could have lead to a use-after-free causing a potentially exploitable crash. This vulnerability affects Firefox ESR < 91.5, Firefox < 96, and Thunderbird < 91.5.

Weakness: CWE-416

Which versions are affected by CVE-2022-22740?

It affects 3 products.

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

How do I fix CVE-2022-22740?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-22740, GHSA-5hrv-4r6h-jgxc, UBUNTU-CVE-2022-22740.

Is CVE-2022-22740 in your software?

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

Check your SBOMs for free