CVE-2024-2612 Use after free in Firefox

High 8.1 Published Updated

An attacker can trigger a crash or achieve code execution via a use-after-free vulnerability in SafeRefPtr within Firefox and Thunderbird.

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

What is CVE-2024-2612?

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

Official description

If an attacker could find a way to trigger a particular code path in `SafeRefPtr`, it could have triggered a crash or potentially be leveraged to achieve code execution. This vulnerability affects Firefox < 124, Firefox ESR < 115.9, and Thunderbird < 115.9.

Weakness: CWE-416

Which versions are affected by CVE-2024-2612?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2024-2612?

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-2024-2612 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-2612, GHSA-j8f6-q345-c99f, UBUNTU-CVE-2024-2612.

Is CVE-2024-2612 in your software?

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

Check your SBOMs for free