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

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.1 (Medium). Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.041, 90.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Xpdf — versions 0.90, 0.91, 0.92

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (0xCyberY/CVE-T4PDF, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References