Xpdf Gfx::doImage buffer overflow

xpdf-gfx-doimage-bo (18641) The risk level is classified as HighHigh Risk

Description:

Xpdf is vulnerable to a buffer overflow in the Gfx::doImage function in the xpdf/Gfx.cc file. By creating a specially-crafted PDF file, a remote attacker could overflow a buffer and cause the program to crash or possibly execute arbitrary code on the system, once the file is opened. A remote attacker could exploit this vulnerability by sending the malicious file to a victim in an email.


Consequences:

Gain Access

Remedy:

Upgrade to the latest binary version (3.00pl2 or later), available from the Xpdf Web site. See References.

—OR—

Apply the xpdf-3.00pl2 patch, available from the Xpdf Web site. See References.

For Ubuntu Linux containing the tetex-bin package:
Upgrade to the latest version (2.0.2-21ubuntu0.3 or later), as listed in USN-48-1 December 23, 2004 for more information. See References.

For Ubuntu Linux containing the xpdf-reader or xpdf-utils package package:
Upgrade to the latest version (3.00-8ubuntu1.3 or later), as listed in USN-48-1 December 23, 2004 for more information. See References.

For Ubuntu Linux containing the cupsys, cupsys-client or libcupsimage2 package:
Upgrade to the latest version (1.1.20final+cvs20040330-4ubuntu16.3 or later), as listed in USN-50-1 December 23, 2004 for more information. See References.

For Gentoo Linux:
Upgrade to the latest version of cups (1.1.23_rc1 or later), as listed in GLSA 200412-25. See References.

For Gentoo Linux:
Upgrade to the latest version of xpdf (3.00-r7 or later), as listed in GLSA 200412-24. See References.

For Gentoo Linux:
Upgrade to the latest version of koffice or kdegraphics (1.3.5-r1, or 3.3.2-r1, 3.2.3-r3 or later), as listed in GLSA 200501-17. See References.

For Gentoo Linux:
Upgrade to the latest version of kdelibs (3.3.2 or later), as listed in GLSA 200501-16. See References.

For Gentoo Linux (teTeX, pTeX, CSTeX):
Refer to Gentoo Linux Security Announcement GLSA 2005-01-31 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (pdftohtml):
Refer to Gentoo Linux Security Announcement GLSA 2005-01-13 for patch, upgrade, or suggested workaround information. See References.

For Mandrake Linux:
Upgrade to the latest tetex package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:166 for more information. See References.

Mandrake Linux 10.0: 2.0.2-14.1.100mdk or later
Mandrake Linux 10.0/AMD64: 2.0.2-14.1.100mdk or later
Mandrake Linux 10.1: 2.0.2-19.1.101mdk or later
Mandrake Linux 10.1/X68_64: 2.0.2-19.1.101mdk or later

For Mandrake Linux:
Upgrade to the latest koffice package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:165 for more information. See References.

Mandrake Linux 10.0: 1.3-12.1.100mdk or later
Mandrake Linux 10.0/AMD64: 1.3-12.1.100mdk or later
Mandrake Linux 10.1: 1.3.3-2.1.101mdk or later
Mandrake Linux 10.1/X68_64: 1.3.3-2.1.101mdk or later

For Mandrake Linux:
Upgrade to the latest cups package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:164 for more information. See References.

Mandrake Linux 9.2: 1.1.19-10.4.92mdk or later
Mandrake Linux 9.2/AMD64: 1.1.19-10.4.92mdk or later
Mandrake Linux 10.0: 1.1.20-5.4.100mdk or later
Mandrake Linux 10.1/AMD64: 1.1.20-5.4.100mdk or later
Mandrake Linux 10.1: 1.1.21-0.rc1.7.2.101mdk or later
Mandrake Linux 10.1/X86_64: 1.1.21-0.rc1.7.2.101mdk or later
Multi Network Firewall 8.2: 1.1.18-2.4.M82mdk or later
Corporate Server 2.1: 1.1.18-2.6.C21mdk or later
Corporate Server 2.1/X86_64: 1.1.18-2.6.C21mdk or later

For Mandrake Linux:
Upgrade to the latest kdegraphics package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:163 for more information. See References.

Mandrake Linux 10.0: 3.2-15.4.100mdk or later
Mandrake Linux 10.0/AMD64: 3.2-15.4.100mdk or later
Mandrake Linux 10.1: 3.2.3-17.3.101mdk or later
Mandrake Linux 10.1/X68_64: 3.2.3-17.3.101mdk or later

For Mandrake Linux:
Upgrade to the latest gpdf package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:162 for more information. See References.

Mandrake Linux 10.0: 0.112-2.4.100mdk or later
Mandrake Linux 10.0/AMD64: 0.112-2.4.100mdk or later
Mandrake Linux 10.1: 0.132-3.3.101mdk or later
Mandrake Linux 10.1/X68_64: 0.132-3.3.101mdk or later

For Mandrake Linux:
Upgrade to the latest xpdf package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:161 for more information. See References.

Mandrake Linux 10.0: 3.00-5.3.100mdk or later
Mandrake Linux 10.0/AMD64: 3.00-5.3.100mdk or later
Mandrake Linux 10.1: 3.00-7.2.101mdk or later
Mandrake Linux 10.1/X68_64: 3.00-7.2.101mdk or later
Corporate Server 2.1: 1.01-4.7.C21mdk or later
Corprate Server 2.1/X86_64: 1.01-4.7.C21mdk or later

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest version of xpdf (1.00-3.3 or later), as listed in DSA-619-1. See References.

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest version of cupsys (1.1.14-5woody11 or later), as listed in DSA-621-1. See References.

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

For Red Hat Linux (CUPS):
Refer to RHSA-2005:053-19 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (teTex):
Refer to RHSA-2005:026-15 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (gpdf):
Refer to RHSA-2005:057-19 for patch, upgrade, or suggested workaround information. See References.

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

For Turbolinux:
Upgrade to the latest xpdf package (3.00-5 or later), as listed in Turbolinux Security Advisory TLSA-2005-3 for more information. See References.

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

References:

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Debian Debian Linux 3.0
  • Foolabs Xpdf 3.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux 9.2 AMD64
  • MandrakeSoft Mandrake Linux 9.2
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 8.2
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 ES
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Turbolinux Turbolinux 10 Server

Reported:

Dec 21, 2004

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 (IBM 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.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page