CVE-2023-2664 Stack overflow in Xpdf 4.04 due to object loop in PDF embedded file tree

Low 2.9 Published Updated

An attacker can cause a stack overflow and crash the application by crafting a PDF with an object loop in the embedded file tree.

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

CVE-2023-2664 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 PDF object loop in the embedded file tree leads to infinite recursion and a stack overflow.

Weakness: CWE-674

Which versions are affected by CVE-2023-2664?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2023-2664?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2664 exists.

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as CVE-2023-31557, GHSA-327r-8gq8-599m, UBUNTU-CVE-2023-2664.

Is CVE-2023-2664 in your software?

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

Check your SBOMs for free