Skip to content
OpenAdvisories
Unscored CVE-2005-3191 EUVD-2005-3190GHSA-wc46-2g2w-q2mc

Multiple heap-based buffer overflows in the (1) DCTStream::readProgressiveSOF and (2) DCTStream::readBaselineSOF functions in the DCT strea…

Published Dec 7, 2005 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cups 1.1.23-13 —
Debian 14 libextractor 0.5.8-1 —
Debian 14 poppler 0.4.2-1.1 —
Debian 14 xpdf 3.01-3 —
Debian 13 cups 1.1.23-13 —
Debian 13 libextractor 0.5.8-1 —
Debian 13 poppler 0.4.2-1.1 —
Debian 13 xpdf 3.01-3 —
Debian 12 cups 1.1.23-13 —
Debian 12 libextractor 0.5.8-1 —
Debian 12 poppler 0.4.2-1.1 —
Debian 12 xpdf 3.01-3 —
Debian 3.1 gpdf 2.8.2-1.2sarge2 DSA-982-1, DSA-940-1
Debian 3.1 kdegraphics 4:3.3.2-2sarge3 DSA-932-1
Debian 3.1 koffice 1:1.3.5-4.sarge.2 DSA-938-1
Debian 3.1 libextractor 0.4.2-2sarge2 DSA-936-1
Debian 3.1 pdfkit.framework 0.8-2sarge1 DSA-979-1, DSA-961-1
Debian 3.1 pdftohtml 0.36-11sarge1 DSA-983-1, DSA-962-1
Debian 3.1 tetex-bin 2.0.2-30sarge4 DSA-937-1
Debian 3.1 xpdf 3.00-13.4 DSA-984-1, DSA-931-1
Debian 3.0 cupsys 1.1.14-5woody14 DSA-950-1
Debian 3.0 tetex-bin 1.0.7+20011202-7.7 DSA-937-1
Debian 3.0 xpdf 1.00-3.8 DSA-931-1
ReleasePackageFixed inAdvisory
RHEL 4 cups +2 1:1.1.22-0.rc1.9.9 RHSA-2005:878
RHEL 4 gpdf 2.8.2-7.3 RHSA-2005:867
RHEL 4 kdegraphics +1 7:3.3.1-3.6 RHSA-2005:868
RHEL 4 tetex +6 2.0.2-22.EL4.7 RHSA-2006:0160
RHEL 4 xpdf 1:3.00-11.10 RHSA-2005:840
RHEL 3 cups +2 1:1.1.17-13.3.34 RHSA-2005:878
RHEL 3 tetex +5 1.0.7-67.9 RHSA-2006:0160
RHEL 3 xpdf 1:2.02-9.8 RHSA-2005:840

Advisories 18

References