Stream.cc in Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 5 advisories
- RHSA-2006:0160 Released 2006-01-19 · Red Hat rating Moderatetetex security update
- Red Hat Desktop version 3 tetex-1.0.7-67.9, tetex-1.0.7-67.9.i386, tetex-afm-1.0.7-67.9 +9
- Red Hat Enterprise Linux AS version 3 tetex-1.0.7-67.9, tetex-1.0.7-67.9.i386, tetex-1.0.7-67.9.ia64 +21
- Red Hat Enterprise Linux AS version 4 tetex-2.0.2-22.EL4.7, tetex-2.0.2-22.EL4.7.i386, tetex-2.0.2-22.EL4.7.ia64 +25
- Red Hat Enterprise Linux Desktop version 4 tetex-2.0.2-22.EL4.7, tetex-2.0.2-22.EL4.7.i386, tetex-afm-2.0.2-22.EL4.7 +11
- Red Hat Enterprise Linux ES version 3 tetex-1.0.7-67.9, tetex-1.0.7-67.9.i386, tetex-1.0.7-67.9.ia64 +15
- Red Hat Enterprise Linux ES version 4 tetex-2.0.2-22.EL4.7, tetex-2.0.2-22.EL4.7.i386, tetex-2.0.2-22.EL4.7.ia64 +18
- Red Hat Enterprise Linux WS version 3 tetex-1.0.7-67.9, tetex-1.0.7-67.9.i386, tetex-1.0.7-67.9.ia64 +15
- Red Hat Enterprise Linux WS version 4 tetex-2.0.2-22.EL4.7, tetex-2.0.2-22.EL4.7.i386, tetex-2.0.2-22.EL4.7.ia64 +18
- RHSA-2006:0177 Released 2006-01-11 · Red Hat rating Importantgpdf security update
- Red Hat Enterprise Linux AS version 4 gpdf-2.8.2-7.4, gpdf-2.8.2-7.4.i386, gpdf-2.8.2-7.4.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 gpdf-2.8.2-7.4, gpdf-2.8.2-7.4.i386
- Red Hat Enterprise Linux ES version 4 gpdf-2.8.2-7.4, gpdf-2.8.2-7.4.i386, gpdf-2.8.2-7.4.ia64
- Red Hat Enterprise Linux WS version 4 gpdf-2.8.2-7.4, gpdf-2.8.2-7.4.i386, gpdf-2.8.2-7.4.ia64
- RHSA-2006:0163 Released 2006-01-11 · Red Hat rating Importantcups security update
- Red Hat Desktop version 3 cups-1:1.1.17-13.3.36, cups-1:1.1.17-13.3.36.i386, cups-devel-1:1.1.17-13.3.36 +3
- Red Hat Enterprise Linux AS version 3 cups-1:1.1.17-13.3.36, cups-1:1.1.17-13.3.36.i386, cups-1:1.1.17-13.3.36.ia64 +9
- Red Hat Enterprise Linux AS version 4 cups-1:1.1.22-0.rc1.9.10, cups-1:1.1.22-0.rc1.9.10.i386, cups-1:1.1.22-0.rc1.9.10.ia64 +9
- Red Hat Enterprise Linux Desktop version 4 cups-1:1.1.22-0.rc1.9.10, cups-1:1.1.22-0.rc1.9.10.i386, cups-devel-1:1.1.22-0.rc1.9.10 +3
- Red Hat Enterprise Linux ES version 3 cups-1:1.1.17-13.3.36, cups-1:1.1.17-13.3.36.i386, cups-1:1.1.17-13.3.36.ia64 +6
- Red Hat Enterprise Linux ES version 4 cups-1:1.1.22-0.rc1.9.10, cups-1:1.1.22-0.rc1.9.10.i386, cups-1:1.1.22-0.rc1.9.10.ia64 +6
- Red Hat Enterprise Linux WS version 3 cups-1:1.1.17-13.3.36, cups-1:1.1.17-13.3.36.i386, cups-1:1.1.17-13.3.36.ia64 +6
- Red Hat Enterprise Linux WS version 4 cups-1:1.1.22-0.rc1.9.10, cups-1:1.1.22-0.rc1.9.10.i386, cups-1:1.1.22-0.rc1.9.10.ia64 +6
Show 2 more Red Hat advisories
- RHSA-2005:868 Released 2005-12-20 · Red Hat rating Importantkdegraphics security update
- Red Hat Enterprise Linux AS version 4 kdegraphics-7:3.3.1-3.6, kdegraphics-7:3.3.1-3.6.i386, kdegraphics-7:3.3.1-3.6.ia64 +5
- Red Hat Enterprise Linux Desktop version 4 kdegraphics-7:3.3.1-3.6, kdegraphics-7:3.3.1-3.6.i386, kdegraphics-devel-7:3.3.1-3.6 +1
- Red Hat Enterprise Linux ES version 4 kdegraphics-7:3.3.1-3.6, kdegraphics-7:3.3.1-3.6.i386, kdegraphics-7:3.3.1-3.6.ia64 +3
- Red Hat Enterprise Linux WS version 4 kdegraphics-7:3.3.1-3.6, kdegraphics-7:3.3.1-3.6.i386, kdegraphics-7:3.3.1-3.6.ia64 +3
- RHSA-2005:840 Released 2005-12-06 · Red Hat rating Importantxpdf security update
- Red Hat Desktop version 3 xpdf-1:2.02-9.8, xpdf-1:2.02-9.8.i386
- Red Hat Enterprise Linux AS version 3 xpdf-1:2.02-9.8, xpdf-1:2.02-9.8.i386, xpdf-1:2.02-9.8.ia64 +1
- Red Hat Enterprise Linux AS version 4 xpdf-1:3.00-11.10, xpdf-1:3.00-11.10.i386, xpdf-1:3.00-11.10.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 xpdf-1:3.00-11.10, xpdf-1:3.00-11.10.i386
- Red Hat Enterprise Linux ES version 3 xpdf-1:2.02-9.8, xpdf-1:2.02-9.8.i386, xpdf-1:2.02-9.8.ia64
- Red Hat Enterprise Linux ES version 4 xpdf-1:3.00-11.10, xpdf-1:3.00-11.10.i386, xpdf-1:3.00-11.10.ia64
- Red Hat Enterprise Linux WS version 3 xpdf-1:2.02-9.8, xpdf-1:2.02-9.8.i386, xpdf-1:2.02-9.8.ia64
- Red Hat Enterprise Linux WS version 4 xpdf-1:3.00-11.10, xpdf-1:3.00-11.10.i386, xpdf-1:3.00-11.10.ia64
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:840, RHSA-2006:0160, RHSA-2006:0163 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:840, RHSA-2006:0160, RHSA-2006:0163 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:840, RHSA-2005:868, RHSA-2006:0160, RHSA-2006:0163, RHSA-2006:0177 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:840, RHSA-2005:868, RHSA-2006:0160, RHSA-2006:0163, RHSA-2006:0177 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:840, RHSA-2006:0160, RHSA-2006:0163 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:840, RHSA-2005:868, RHSA-2006:0160, RHSA-2006:0163, RHSA-2006:0177 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:840, RHSA-2006:0160, RHSA-2006:0163 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:840, RHSA-2005:868, RHSA-2006:0160, RHSA-2006:0163, RHSA-2006:0177 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-3627
- 2026-10-03 Alias added: GHSA-738f-c7mc-xp78
References
Patch 10
Advisory 23
More Xpdf vulnerabilities
- TI-2003-00409 Various PDF viewers including (1) Adobe Acrobat 5.06 and (2) Xpdf 1.01 allow remote… CVSS 2.0HIGH 7.5
- TI-2004-00806 Multiple integer overflows in xpdf 2.0 and 3.0, and other packages that use xpdf code… CVSS 2.0HIGH 10.0
- TI-2004-00807 Multiple integer overflows in xpdf 3.0, and other packages that use xpdf code such as… CVSS 2.0HIGH 10.0
- TI-2004-01022 Buffer overflow in the Gfx::doImage function in Gfx.cc for xpdf 3.00, and other products… CVSS 2.0HIGH 9.3
- TI-2007-05180 Heap-based buffer overflow in the CCITTFaxStream::lookChar method in xpdf/Stream.cc in… CVSS 2.0HIGH 9.3
- TI-2007-05179 Integer overflow in the DCTStream::reset method in xpdf/Stream.cc in Xpdf 3.02p11 allows… CVSS 2.0HIGH 9.3
Sources
- CVE-2005-3627 · CVE Program
- CVE-2005-3627 · NVD
- FIRST EPSS
- GHSA-738f-c7mc-xp78 · GitHub Advisory Database · CC BY 4.0
- CVE-2005-3627 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences