Buffer overflow in Xpdf

CVE-2005-3191

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.

Vulnerability class: Buffer Overflow

EPSS: 0.041 (89.7th percentile) — read the EPSS interpretation.

Affected products

  • Xpdf — versions 0.90, 0.91, 0.92
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2005-3191?
CVE-2005-3191 is a vulnerability in Xpdf, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. Published 2005-12-07.
Is CVE-2005-3191 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.