CVE-2024-5688 Use after free in Firefox

High 8.1 Published Updated

A use-after-free vulnerability in Firefox and Thunderbird allows attackers to execute arbitrary code via a race condition during garbage collection.

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

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

Official description

If a garbage collection was triggered at the right time, a use-after-free could have occurred during object transplant. This vulnerability affects Firefox < 127, Firefox ESR < 115.12, and Thunderbird < 115.12.

Weakness: CWE-416

Which versions are affected by CVE-2024-5688?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2024-5688?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-5688, GHSA-g23m-h4v3-g2qq, UBUNTU-CVE-2024-5688.

Is CVE-2024-5688 in your software?

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

Check your SBOMs for free