CVE-2023-2662 Divide-by-zero in Xpdf 4.04 due to bad color space object

Low 2.9 Published Updated

A divide-by-zero error in Xpdf allows attackers to cause a denial of service via a malicious PDF file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-2662?

CVE-2023-2662 is a low-severity denial of service vulnerability in Xpdfreader Xpdf, published on 11 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a divide-by-zero.

Weakness: CWE-369

Which versions are affected by CVE-2023-2662?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2023-2662?

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

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-q94w-f7gq-q946, UBUNTU-CVE-2023-2662.

Is CVE-2023-2662 in your software?

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

Check your SBOMs for free