CVE-2024-7866 Stack overflow in Xpdf 4.05 due to object loop in PDF pattern

Low 2.1 Published Updated

An attacker can cause a stack overflow and crash Xpdf by crafting a PDF with a recursive pattern resource.

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

What is CVE-2024-7866?

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

Official description

In Xpdf 4.05 (and earlier), a PDF object loop in a pattern resource leads to infinite recursion and a stack overflow.

Weakness: CWE-674

Which versions are affected by CVE-2024-7866?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2024-7866?

No fix has been published for CVE-2024-7866 yet. Limit exposure of the affected software until one is available.

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-2024-7866 being exploited?

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-cr4v-6m54-7vh3, UBUNTU-CVE-2024-7866.

Is CVE-2024-7866 in your software?

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

Check your SBOMs for free