CVE-2005-3627: Xpdf

High severity, CVSS 7.5. EPSS: 5.5% chance of exploitation in the next 30 days.

Stream.cc in Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to modify memory and possibly execute arbitrary code via a DCTDecode stream with (1) a large "number of components" value that is not checked by DCTStream::readBaselineSOF or DCTStream::readProgressiveSOF, (2) a large "Huffman table index" value that is not checked by DCTStream::readHuffmanTables, and (3) certain uses of the scanInfo.numComps value by DCTStream::readScanInfo.

Affected products

  • Xpdf Xpdf: any version

Published 2005-12-31. Last modified 2026-06-16.