CVE-2024-2971 Out-of-bounds array access due to negative object numbers in indirect references in Xpdf 4.05

Low 2.9 Published Updated

An attacker can trigger an out-of-bounds array write in Xpdf via a malicious PDF, potentially leading to code execution or application crash.

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

CVE-2024-2971 is a low-severity memory corruption vulnerability in Xpdfreader Xpdf, published on 26 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Out-of-bounds array write in Xpdf 4.05 and earlier, triggered by negative object number in indirect reference in the input PDF file.

Weakness: CWE-787

Which versions are affected by CVE-2024-2971?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2024-2971?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-2971 being exploited?

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

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-jvwm-5xhx-5mqp, UBUNTU-CVE-2024-2971.

Is CVE-2024-2971 in your software?

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

Check your SBOMs for free