GIMP (GNU Image Manipulation Program) image loader plugins code execution

gimp-plugins-code-execution (35308) The risk level is classified as HighHigh Risk

Description:

GIMP (GNU Image Manipulation Program) could allow a remote attacker to execute arbitrary code on the system, caused by an integer overflow in the g_malloc or g_new function of the DICOM, PNM, PSD, PSP, Sun RAS, XBM, and XWD file format plugins. By persuading a victim to open a specially-crafted file with an overly large length value, a remote attacker could exploit this vulnerability to execute arbitrary code on the system.

Platforms Affected:

  • Canonical, Ubuntu 6.06 LTS
  • Canonical, Ubuntu 6.10
  • Canonical, Ubuntu 7.04
  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • GIMP, GIMP 2.2.15 and prior
  • MandrakeSoft, Mandrake Linux 2007
  • MandrakeSoft, Mandrake Linux 2007 X86_64
  • MandrakeSoft, Mandrake Linux 2007.1
  • MandrakeSoft, Mandrake Linux 2007.1 X86_64
  • MandrakeSoft, Mandrake Linux 2008.0 X86_64
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0
  • MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • 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 WS
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 5 Server
  • RedHat, Enterprise Linux 5
  • RedHat, Enterprise Linux 5 Client
  • RedHat, Enterprise Linux 5 Client Workstation
  • RedHat, Enterprise Linux Desktop 5.0
  • RedHat, Linux Advanced Workstation 2.1 Itanium

Remedy:

Upgrade to the latest version of GIMP (2.2.16 or later), available from the GIMP Web site. See References.

For Debian/GNU Linux:
Refer to DSA-1335-1 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (GIMP):
Refer to GLSA 200707-09 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (gimp):
Refer to MDKSA-2007:170 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2007:0513-8 for patch, upgrade, or suggested workaround information. See References.

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

Consequences:

Gain Access

References:

  • GIMP Web site, GIMP - The GNU Image Manipulation Program at http://www.gimp.org/.
  • iDefense Labs PUBLIC ADVISORY: 07.09.07, Multiple Vendor GIMP Multiple Integer Overflow Vulnerabilities at http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=551.
  • ASA-2007-457: GIMP security update (RHSA-2007-0513)
  • BID-24835: GNU Image Manipulation Program Multiple Integer Overflow Vulnerabilities
  • CVE-2006-4519: Multiple integer overflows in the image loader plug-ins in GIMP before 2.2.16 allow user-assisted remote attackers to execute arbitrary code via crafted length values in (1) DICOM, (2) PNM, (3) PSD, (4) PSP, (5) Sun RAS, (6) XBM, and (7) XWD files.
  • DSA-1335: gimp -- several vulnerabilities
  • GLSA-200707-09: GIMP: Multiple integer overflows
  • MDKSA-2007:170: Updated gimp packages fix input data validation issues in several plugins
  • RHSA-2007-0513: Moderate: gimp security update
  • SECTRACK ID: 1018349: GIMP Integer Overflows in Processing DICOM, PNM, PSD, PSP, Sun RAS, XBM, and XWD Files Lets Remote Users Execute Arbitrary Code
  • USN-494-1: Gimp vulnerability
  • VUPEN/ADV-2007-2471: GIMP Multiple Plugin File Processing Client-Side Integer Overflow Vulnerabilities

Reported:

Jul 09, 2007

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 xforce@iss.net

Return to the main page