CVE-2005-3191 Memory corruption in n/a

Medium 5.1 Published Updated

Heap-based buffer overflows in xpdf allow attackers to execute arbitrary code or cause denial of service via crafted PDF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2005-3191?

CVE-2005-3191 is a medium-severity memory corruption vulnerability in n/a, published on 7 Dec 2005. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineSOF functions in the DCT stream parsing code (Stream.cc) in xpdf 3.01 and earlier, as used in products such as (a) Poppler, (b) teTeX, (c) KDE kpdf, (d) pdftohtml, (e) KOffice KWord, (f) CUPS, and (g) libextractor allow user-assisted attackers to cause a denial of service (heap corruption) and possibly execute arbitrary code via a crafted PDF file with an out-of-range number of components (numComps), which is used as an array index.

Weakness: CWE-119

Which versions are affected by CVE-2005-3191?

It affects 1 product.

Products include Xpdf Xpdf.

How do I fix CVE-2005-3191?

Upgrade to a fixed version.

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

Is CVE-2005-3191 being exploited?

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

Sources

Also known as DEBIAN-CVE-2005-3191, GHSA-wc46-2g2w-q2mc.

Is CVE-2005-3191 in your software?

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

Check your SBOMs for free