USN-557-1: GD library vulnerability

18 December 2007

GD library vulnerability



  • libgd2 -


Mattias Bengtsson and Philip Olausson discovered that the GD
library did not properly perform bounds checking when creating
images. An attacker could send specially crafted input to
applications linked against libgd2 and cause a denial of service
or possibly execute arbitrary code.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 7.10
Ubuntu 7.04
Ubuntu 6.10
Ubuntu 6.06

In general, a standard system upgrade is sufficient to effect the
necessary changes.


Related notices

  • USN-720-1: php5-gd, libapache2-mod-php5, php5-cli, libapache2-mod-php5filter, php5, php5-cgi