CVE-2024-3854 Memory corruption in Firefox

High 8.8 Published Updated

A JIT compiler flaw in Firefox and Thunderbird allows out-of-bounds reads, potentially leading to code execution or crashes.

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-2024-3854?

CVE-2024-3854 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 16 Apr 2024. 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

In some code patterns the JIT incorrectly optimized switch statements and generated code with out-of-bounds-reads. This vulnerability affects Firefox < 125, Firefox ESR < 115.10, and Thunderbird < 115.10.

Weakness: CWE-125

Which versions are affected by CVE-2024-3854?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2024-3854?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-3854 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-3854, GHSA-xc66-q4x2-cwqx, UBUNTU-CVE-2024-3854.

Is CVE-2024-3854 in your software?

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

Check your SBOMs for free