Xpdf StreamPredictor() heap buffer overflow

xpdf-streampredictor-bo (23442) The risk level is classified as HighHigh Risk

Description:

Xpdf is vulnerable to a heap-based buffer overflow in the StreamPredictor::StreamPredictor() function. By creating a malicious PDF file with overly large numComps value, a remote attacker could overflow a buffer to cause a denial of service and possibly execute arbitrary code on the system with privileges of the Xpdf process. Exploitation of this vulnerability would require the attacker to deliver the malicious PDF file to a potential victim, either by hosting the file on a Web site or sending it to the victim as an email attachment, and then the victim would have to open the file using Xpdf.

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-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 (xpdf):
Refer to RHSA-2005:840-10 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (gpdf):
Refer to RHSA-2005:867-5 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 Red Hat Linux (CUPS):
Refer to RHSA-2005:878-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 Gentoo Linux (Xpdf, GPdf, CUPS, Poppler):
Refer to Gentoo Linux Security Announcement GLSA 2005-12-08 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-227-1 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:

Gain Access

References:

Reported:

Dec 05, 2005

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