CVE-2024-4771 Use after free in Firefox

High 8.6 Published Updated

A missing memory allocation check in Firefox allows attackers to trigger a use-after-free, potentially leading to code execution or crashes.

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

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

Official description

A memory allocation check was missing which would lead to a use-after-free if the allocation failed. This could have triggered a crash or potentially be leveraged to achieve code execution. This vulnerability affects Firefox < 126.

Weakness: CWE-416

Which versions are affected by CVE-2024-4771?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2024-4771?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-w694-6mxx-38mc, UBUNTU-CVE-2024-4771.

Is CVE-2024-4771 in your software?

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

Check your SBOMs for free