Xpdf FlateDecode NULL pointer dereference denial of service

xpdf-flatedecode-dos (24026) The risk level is classified as LowLow Risk

Description:

Xpdf is vulnerable to a denial of service attack, caused by a NULL pointer dereference in the FlateDecode stream. A remote attacker could exploit this vulnerability via a malicious PDF file to cause the victim's client application to crash.

Note: This vulnerability affects multiple vendor applications that use the Xpdf code base.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Canonical, Ubuntu 5.04
  • Canonical, Ubuntu 5.10
  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • Easy Software Products, CUPS prior to 1.2svn
  • Gentoo, Linux
  • Glyph & Cog, Xpdf 3.01
  • KDE, KDE 3.5 and prior
  • KDE, KOffice 1.4.2 and prior
  • KDE, KPDF 0.5 and prior
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 2006
  • MandrakeSoft, Mandrake Linux 2006 X86_64
  • MandrakeSoft, Mandrake Linux LE2005 X86_64
  • MandrakeSoft, Mandrake Linux LE2005
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • Poppler, Poppler 0.4.2 and prior
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Linux Advanced Workstation 2.1 Itanium
  • SourceForge, pdftohtml 0.36 and prior
  • Sun, Solaris 10 x86
  • Sun, Solaris 10 SPARC
  • SuSE, SuSE Linux 10.0
  • SuSE, SuSE Linux 9.0
  • SuSE, SuSE Linux 9.1
  • SuSE, SuSE Linux 9.2
  • SuSE, SuSE Linux 9.3
  • SuSE, SuSE Linux Desktop 1.0
  • SuSE, SuSE SLES 9
  • Thomas Esser, teTeX 3.0 and prior
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 10 Server x64 Ed
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux 8 Workstation
  • Turbolinux, Turbolinux FUJI
  • Turbolinux, Turbolinux Home
  • Turbolinux, Turbolinux Multimedia
  • Turbolinux, Turbolinux Personal
  • Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed

Remedy:

Upgrade to the latest version of Xpdf (3.01pl1 or later), available from the Xpdf Web site. See References.

For Debian GNU/Linux:
Refer to DSA-962-1, DSA-961-1, DSA-950-1, DSA-940-1, DSA-938-1, DSA-937-1, DSA-936-1, DSA-932-1, and DSA-931-1 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (teTex):
Refer to RHSA-2006:0160-14 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (CUPS):
Refer to RHSA-2006:0163-2 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (gpdf):
Refer to RHSA-2006:0177-5 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (xpdf):
Refer to RHSA-2005:840-10 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (kdegraphics):
Refer to RHSA-2005:868-4 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (KPdf and Kword):
Refer to Gentoo Linux Security Announcement GLSA 2006-01-02 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-236-1 and USN-236-2 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE Security Announcement SUSE-SA:2006:001 for patch, upgrade, or suggested workaround information. See References.

For Sun Solaris (gpdf):
Refer to Sun Alert ID: 102972 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Denial of Service

References:

  • Chris Evans Security Advisory CESA-2005-003 - rev 2, xpdf (and derivatives) buffer and integer overflows at http://scary.beasts.org/security/CESA-2005-003.txt.
  • KDE Security Advisory 20051207-2, kpdf/xpdf multiple integer overflows at http://www.kde.org/info/security/advisory-20051207-2.txt.
  • Sun Alert ID: 102972, Multiple Security Vulnerabilities in the Solaris Gnome PDF Viewer (gpdf(1)) may Allow a Denial of Service (DoS) Condition or Lead to Execution of Arbitrary Code at http://sunsolve.sun.com/search/document.do?assetkey=1-26-102972-1.
  • ASA-2006-009: cups security update (RHSA-2006-0163)
  • ASA-2006-012: gpdf security update (RHSA-2006-0177)
  • ASA-2006-019: tetex security update (RHSA-2006-0160)
  • ASA-2007-281: Multiple Security Vulnerabilities in the Solaris Gnome PDF Viewer (gpdf(1)) may Allow a Denial of Service (DoS) Condition or Lead to Execution of Arbitrary Code (SUN 102972)
  • BID-16143: KPDF and KWord Multiple Unspecified Buffer and Integer Overflow Vulnerabilities
  • CVE-2005-3626: Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to cause a denial of service (crash) via a crafted FlateDecode stream that triggers a null dereference.
  • DSA-931: xpdf -- buffer overflows
  • DSA-932: kdegraphics -- buffer overflows
  • DSA-936: libextractor -- buffer overflows
  • DSA-937: tetex-bin -- buffer overflows
  • DSA-938: koffice -- buffer overflows
  • DSA-940: gpdf -- buffer overflows
  • DSA-950: cupsys -- buffer overflows
  • DSA-961: pdfkit.framework -- buffer overflows
  • DSA-962: pdftohtml -- buffer overflows
  • FrSIRT/ADV-2006-0047: Xpdf Multiple Unspecified Buffer and Integer Overflow Vulnerabilities
  • FrSIRT/ADV-2007-2280: Sun Solaris Gnome PDF Document Viewer Multiple Command Execution Vulnerabilities
  • GLSA-200601-02: KPdf, KWord: Multiple overflows in included Xpdf code
  • GLSA-200601-17: Xpdf, Poppler, GPdf, libextractor, pdftohtml: Heap overflows
  • MDKSA-2006:008: Updated koffice packages fix several vulnerabilities
  • MDKSA-2006:010: Updated cups packages fix several vulnerabilities
  • MDKSA-2006:011: Updated tetex packages fix several vulnerabilities
  • MDKSA-2006:012: Updated kdegraphics packages fix several vulnerabilities
  • RHSA-2005-840: xpdf security update
  • RHSA-2005-868: kdegraphics security update
  • RHSA-2006-0160: tetex security update
  • RHSA-2006-0163: cups security update
  • RHSA-2006-0177: gpdf security update
  • SA18303: xpdf Multiple Integer Overflow Vulnerabilities
  • SA18312: Poppler Xpdf Multiple Integer Overflow Vulnerabilities
  • SA18329: teTeX Xpdf Multiple Integer Overflow Vulnerabilities
  • SA18332: CUPS xpdf Multiple Integer Overflow Vulnerabilities
  • SA18375: GNOME gpdf Xpdf Multiple Integer Overflow Vulnerabilities
  • SA18398: libextractor Multiple Xpdf Vulnerabilities
  • SA18642: pdftohtml xpdf Multiple Integer Overflow Vulnerabilities
  • SA18674: GNUStep PDFKit Framework Xpdf Multiple Vulnerabilities
  • SA25729: Sun Solaris Gnome PDF Viewer Multiple Vulnerabilities
  • SUSE-SA:2006:001: xpdf various security problems

Reported:

Jan 03, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page