CVE-2005-3191

NameCVE-2005-3191
DescriptionMultiple 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-931-1, DSA-932-1, DSA-936-1, DSA-937-1, DSA-938-1, DSA-940-1, DSA-950-1, DSA-961-1, DSA-962-1, DSA-979-1, DSA-982-1, DSA-983-1, DSA-984-1
NVD severitymedium (attack range: remote)
Debian Bugs342281, 342286, 342287, 342288, 342289, 342292, 342294, 342337

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cups (PTS)jessie1.7.5-11+deb8u2fixed
jessie (security)1.7.5-11+deb8u4fixed
stretch2.2.1-8+deb9u1fixed
stretch (security)2.2.1-8+deb9u2fixed
buster, sid2.2.8-5fixed
libextractor (PTS)jessie1:1.3-2+deb8u1fixed
stretch1:1.3-4+deb9u1fixed
buster, sid1:1.6-2fixed
poppler (PTS)jessie (security), jessie0.26.5-2+deb8u4fixed
stretch (security), stretch0.48.0-2+deb9u2fixed
buster, sid0.63.0-2fixed
xpdf (PTS)jessie3.03-17fixed
stretch3.04-4fixed
buster, sid3.04-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cupssource(unstable)1.1.23-13unimportant
cupsyssource(unstable)1.1.23-13unimportant
cupsyssourcesarge(not affected)DSA-950-1
cupsyssourcewoody1.1.14-5woody14mediumDSA-950-1
gpdfsource(unstable)2.10.0-1medium342286
gpdfsourcesarge2.8.2-1.2sarge4mediumDSA-982-1
kdegraphicssource(unstable)4:3.4.3-4medium342287
kdegraphicssourcesarge4:3.3.2-2sarge3mediumDSA-932-1
kofficesource(unstable)1:1.4.2-5medium342294
kofficesourcesarge1:1.3.5-4.sarge.2mediumDSA-938-1
libextractorsource(unstable)0.5.8-1medium
libextractorsourcesarge0.4.2-2sarge2mediumDSA-936-1
pdfkit.frameworksource(unstable)0.8-4medium
pdfkit.frameworksourcesarge0.8-2sarge3mediumDSA-979-1
pdftohtmlsource(unstable)0.36-12medium342289
pdftohtmlsourcesarge0.36-11sarge2mediumDSA-983-1
popplersource(unstable)0.4.2-1.1medium342288
tetex-binsource(unstable)3.0-11medium342292
tetex-binsourcesarge2.0.2-30sarge4mediumDSA-937-1
tetex-binsourcewoody1.0.7+20011202-7.7mediumDSA-937-1
xpdfsource(unstable)3.01-3medium342281, 342337
xpdfsourcesarge3.00-13.6mediumDSA-984-1
xpdfsourcewoody1.00-3.8mediumDSA-931-1

Notes

Previous kdegraphics fix was incomplete

Search for package or bug name: Reporting problems