CVE-2025-1010 Use-after-free in Custom Highlight

Critical 9.8 Published Updated

An attacker can trigger a use-after-free in the Custom Highlight API, potentially causing a crash or executing arbitrary code in Firefox and Thunderbird.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-1010?

CVE-2025-1010 is a critical use after free vulnerability in Mozilla Firefox, published on 4 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An attacker could have caused a use-after-free via the Custom Highlight API, leading to a potentially exploitable crash. This vulnerability was fixed in Firefox 135, Firefox ESR 115.20, Firefox ESR 128.7, Thunderbird 128.7, and Thunderbird 135.

Weakness: CWE-416

Which versions are affected by CVE-2025-1010?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-1010?

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-2025-1010 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-1010, GHSA-f666-246m-p7mg, UBUNTU-CVE-2025-1010.

Is CVE-2025-1010 in your software?

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

Check your SBOMs for free