CVE-2025-1934 Unexpected GC during RegExp bailout processing

Medium 6.5 Published Updated

An attacker can trigger unexpected garbage collection during RegExp processing, potentially leading to memory corruption and code execution in Firefox.

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-2025-1934?

CVE-2025-1934 is a medium-severity memory corruption vulnerability in Mozilla Firefox, published on 4 Mar 2025. 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

It was possible to interrupt the processing of a RegExp bailout and run additional JavaScript, potentially triggering garbage collection when the engine was not expecting it. This vulnerability was fixed in Firefox 136, Firefox ESR 128.8, Thunderbird 136, and Thunderbird 128.8.

Which versions are affected by CVE-2025-1934?

It affects 2 products.

Products include Mozilla Firefox, Mozilla Thunderbird.

How do I fix CVE-2025-1934?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2025-1934, GHSA-8454-mw8r-4mjq, UBUNTU-CVE-2025-1934.

Is CVE-2025-1934 in your software?

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

Check your SBOMs for free