CVE-2023-25742 Denial of service in Firefox

Medium 6.5 Published Updated

An attacker can cause a browser tab crash by importing a malformed SPKI RSA public key as ECDSA P-256.

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

CVE-2023-25742 is a medium-severity denial of service 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

When importing a SPKI RSA public key as ECDSA P-256, the key would be handled incorrectly causing the tab to crash. This vulnerability affects Firefox < 110, Thunderbird < 102.8, and Firefox ESR < 102.8.

Which versions are affected by CVE-2023-25742?

It affects 3 products.

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

How do I fix CVE-2023-25742?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-25742 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-25742, GHSA-h7v9-37vx-36cv, UBUNTU-CVE-2023-25742.

Is CVE-2023-25742 in your software?

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

Check your SBOMs for free