CVE-2005-3627: Buffer Overflow

Published Dec 31, 2005
·
Updated

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 Software

17 affected componentsFixes available
xpdf Xpdf
debian/cups<1.1.22-7
1.1.22-7
debian/cups<1.1.22-7
1.1.22-7
debian/cups<1.1.22-7
1.1.22-7
debian/libextractor<0.5.9-1
0.5.9-1
debian/libextractor<0.5.9-1
0.5.9-1
debian/libextractor<0.5.9-1
0.5.9-1
debian/poppler<0.4.4-1
0.4.4-1
debian/poppler<0.4.4-1
0.4.4-1
debian/poppler<0.4.4-1
0.4.4-1
debian/xpdf<3.01-4
3.01-4
debian/xpdf<3.01-4
3.01-4
debian/xpdf<3.01-4
3.01-4
debian/cups
2.4.2-3+deb12u92.4.10-3+deb13u22.4.10-3+deb13u12.4.20-3
debian/libextractor
1:1.11-71:1.13-81:1.19-2
debian/poppler
22.12.0-2+deb12u222.12.0-2+deb12u325.03.0-5+deb13u425.03.0-5+deb13u326.07.0-4
debian/xpdf
3.04+git20220601-13.04+git20250304-13.04+git20260802-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cups to a version that resolves this vulnerability.

    Fixed in 1.1.22-7
  2. Upgrade

    Upgrade debian/libextractor to a version that resolves this vulnerability.

    Fixed in 0.5.9-1
  3. Upgrade

    Upgrade debian/poppler to a version that resolves this vulnerability.

    Fixed in 0.4.4-1
  4. Upgrade

    Upgrade debian/xpdf to a version that resolves this vulnerability.

    Fixed in 3.01-4
  5. Upgrade

    Upgrade debian/cups to a version that resolves this vulnerability.

    Fixed in 2.4.2-3+deb12u9Fixed in 2.4.10-3+deb13u2Fixed in 2.4.10-3+deb13u1Fixed in 2.4.20-3
  6. Upgrade

    Upgrade debian/libextractor to a version that resolves this vulnerability.

    Fixed in 1:1.11-7Fixed in 1:1.13-8Fixed in 1:1.19-2
  7. Upgrade

    Upgrade debian/poppler to a version that resolves this vulnerability.

    Fixed in 22.12.0-2+deb12u2Fixed in 22.12.0-2+deb12u3Fixed in 25.03.0-5+deb13u4Fixed in 25.03.0-5+deb13u3Fixed in 26.07.0-4
  8. Upgrade

    Upgrade debian/xpdf to a version that resolves this vulnerability.

    Fixed in 3.04+git20220601-1Fixed in 3.04+git20250304-1Fixed in 3.04+git20260802-1

Event History

Dec 31, 2005
CVE Published
05:00 AM
Data Sourced
via OSV·05:00 AM
DescriptionAffected Software
Jan 7, 2006
CVE Published
via MITRE·03:00 AM
Data Sourced
via MITRE·03:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2005-3627?

CVE-2005-3627 is considered a high-severity vulnerability as it allows attackers to modify memory and potentially execute arbitrary code.

2

How do I fix CVE-2005-3627?

To fix CVE-2005-3627, update to a version of Xpdf or any affected software that has patched this vulnerability.

3

What products are affected by CVE-2005-3627?

CVE-2005-3627 affects multiple products including Xpdf, gpdf, kpdf, pdftohtml, and poppler.

4

What type of attack can be carried out using CVE-2005-3627?

Using CVE-2005-3627, an attacker can exploit a DCTDecode stream to modify memory or possibly execute arbitrary code.

5

Is CVE-2005-3627 a local or remote vulnerability?

CVE-2005-3627 can be exploited remotely through malicious PDF files that utilize affected decoding streams.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203