CVE-2024-8381 Memory corruption in Firefox

Critical 9.8 Published Updated

A type confusion vulnerability in Firefox and Thunderbird allows attackers to potentially execute arbitrary code via crafted web content.

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

CVE-2024-8381 is a critical memory corruption vulnerability in Mozilla Firefox, published on 3 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A potentially exploitable type confusion could be triggered when looking up a property name on an object being used as the `with` environment. This vulnerability affects Firefox < 130, Firefox ESR < 128.2, Firefox ESR < 115.15, Thunderbird < 128.2, and Thunderbird < 115.15.

Weakness: CWE-843

Which versions are affected by CVE-2024-8381?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Firefox Esr.

How do I fix CVE-2024-8381?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-8381, GHSA-x565-97fv-jfr5, UBUNTU-CVE-2024-8381.

Is CVE-2024-8381 in your software?

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

Check your SBOMs for free