GD Graphics Library gdMalloc buffer overflow

gd-graphics-gdmalloc-bo (18048) The risk level is classified as HighHigh Risk


GD Graphics Library (gd) is vulnerable to a buffer overflow, caused by improper bounds checking when the gdMalloc function is called. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with privileges of GD Graphics Library.


Gain Access


For Trustix Secure Linux:
Upgrade to the latest gd package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0058 for more information. See References.

Trustix Secure Linux 2.2: 2.0.33-3tr or later

For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest libgd package (1.8.4-17.woody4 or later), as listed in DSA-601-1. See References.

For Ubuntu Linux:
Upgrade to the latest libgd1-noxpm or gd1-xpm package (1.8.4-36ubuntu0.2 or later), as listed in USN-33-1 November 29, 2004. See References.

For Red Hat Linux:
Refer to RHSA-2006:0194-4 or RHSA-2004:638-14 for patch, upgrade, or suggested workaround information. See References.

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


Platforms Affected:

  • Boutell GD Graphics Library 2.x
  • Canonical Ubuntu 4.10
  • Debian Debian Linux 3.0
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • 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 9.2 AMD64
  • MandrakeSoft Mandrake Linux 9.2
  • 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 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 AW
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 Desktop
  • 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
  • Trustix Secure Linux 2.2
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux FUJI
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Appliance Server 2.0


Nov 12, 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