CVE-2025-1012 Use-after-free during concurrent delazification

Critical 9.8 Published Updated

A race condition during concurrent delazification in Firefox and Thunderbird could lead to a use-after-free, potentially allowing arbitrary code execution.

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

CVE-2025-1012 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

A race during concurrent delazification could have led to a use-after-free. 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-1012?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-1012?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-1012, GHSA-hjjx-mmjm-vp9r, UBUNTU-CVE-2025-1012.

Is CVE-2025-1012 in your software?

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

Check your SBOMs for free