CVE-2022-34480 Use after free in Firefox

High 8.8 Published Updated

An uninitialized pointer free in Firefox can lead to crashes or potential code execution, requiring users to upgrade to version 102 or later.

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

CVE-2022-34480 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

Within the <code>lg_init()</code> function, if several allocations succeed but then one fails, an uninitialized pointer would have been freed despite never being allocated. This vulnerability affects Firefox < 102.

Weakness: CWE-824

Which versions are affected by CVE-2022-34480?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2022-34480?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as CLSA-2023-1677783628, CLSA-2023-1677783798, CLSA-2023-1677784062, GHSA-gx64-jm35-rwvr, UBUNTU-CVE-2022-34480.

Is CVE-2022-34480 in your software?

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

Check your SBOMs for free