CVE-2024-4771 Use after free in Firefox
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.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-w694-6mxx-38mc, UBUNTU-CVE-2024-4771.