CVE-2023-25739 Use after free in Firefox

High 8.8 Published Updated

A use-after-free in Firefox allows attackers to execute arbitrary code via failed module load requests.

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-2023-25739?

CVE-2023-25739 is a high-severity use after free vulnerability in Mozilla Firefox, published on 2 Jun 2023. 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

Module load requests that failed were not being checked as to whether or not they were cancelled causing a use-after-free in <code>ScriptLoadContext</code>. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.

Weakness: CWE-416

Which versions are affected by CVE-2023-25739?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Esr, Mozilla Thunderbird.

How do I fix CVE-2023-25739?

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-2023-25739 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25739 exists.

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-25739, GHSA-p6cx-mxcp-cp6r, UBUNTU-CVE-2023-25739.

Is CVE-2023-25739 in your software?

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

Check your SBOMs for free