CVE-2025-3154 Out-of-bounds array write due to invalid VerticesPerRow in Xpdf 4.05

Low 2.1 Published Updated

An out-of-bounds array write in Xpdf allows attackers to execute arbitrary code or cause denial of service via a malicious PDF.

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-2025-3154?

CVE-2025-3154 is a low-severity memory corruption vulnerability in Xpdf, published on 2 Apr 2025. 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 an invalid VerticesPerRow value in a PDF shading dictionary.

Weakness: CWE-787

Which versions are affected by CVE-2025-3154?

Linux distribution packages (2)
poppler SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions0.43.0-16.67.1
poppler-qt SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions0.43.0-16.67.1

How do I fix CVE-2025-3154?

Apply the vendor's patch.

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

Is CVE-2025-3154 being exploited?

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

Sources

Also known as GHSA-xjp4-wv35-98vj, SUSE-SU-2025:3945-1, UBUNTU-CVE-2025-3154.

Is CVE-2025-3154 in your software?

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

Check your SBOMs for free