CVE-2025-4091 Memory safety bugs fixed in Firefox 138, Thunderbird 138, Firefox ESR 128.10, and Thunderbird 128.10

High 8.1 Published Updated

Memory safety bugs in Firefox and Thunderbird allow arbitrary code execution, requiring users to upgrade to the latest versions.

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

CVE-2025-4091 is a high-severity memory corruption vulnerability in Mozilla Firefox, published on 29 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Memory safety bugs present in Firefox 137, Thunderbird 137, Firefox ESR 128.9, and Thunderbird 128.9. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability was fixed in Firefox 138, Firefox ESR 128.10, Thunderbird 138, and Thunderbird 128.10.

Weakness: CWE-119

Which versions are affected by CVE-2025-4091?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-4091?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-4091, GHSA-jgr2-rf9j-5fh3, UBUNTU-CVE-2025-4091.

Is CVE-2025-4091 in your software?

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

Check your SBOMs for free