CVE-2023-3044 Divide-by-zero in Xpdf 4.04 due to very large page size

Low 3.3 Published Updated

An attacker can cause a denial of service in Xpdf by providing a PDF with an excessively large page size, triggering a divide-by-zero error.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-3044?

CVE-2023-3044 is a low-severity denial of service vulnerability in Xpdfreader Xpdf, published on 2 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files) can result in a divide-by-zero in Xpdf's text extraction code.

This is related to CVE-2022-30524, but the problem here is caused by a very large page size, rather than by a very large character coordinate.

Weakness: CWE-369

Which versions are affected by CVE-2023-3044?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2023-3044?

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

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-6w33-g59h-852h, UBUNTU-CVE-2023-3044.

Is CVE-2023-3044 in your software?

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

Check your SBOMs for free