USN-473-1: libgd2 vulnerabilities

Publication date

12 June 2007

Overview

libgd2 vulnerabilities


Details

A buffer overflow was discovered in libgd2’s font renderer. By tricking
an application using libgd2 into rendering a specially crafted string
with a JIS encoded font, a remote attacker could read heap memory or
crash the application, leading to a denial of service. (CVE-2007-0455)

Xavier Roche discovered that libgd2 did not correctly validate PNG
callback results. If an application were tricked into processing a
specially crafted PNG image, it would monopolize CPU resources. Since
libgd2 is often used in PHP and Perl web applications, this could lead
to a remote denial of service. (CVE-2007-2756)

A buffer overflow was discovered in libgd2’s font renderer. By tricking
an application using libgd2 into rendering a specially crafted string
with a JIS encoded font, a remote attacker could read heap memory or
crash the application, leading to a denial of service. (CVE-2007-0455)

Xavier Roche discovered that libgd2 did not correctly validate PNG
callback results. If an application were tricked into processing a
specially crafted PNG image, it would monopolize CPU resources. Since
libgd2 is often used in PHP and Perl web applications, this could lead
to a remote denial of service. (CVE-2007-2756)

Update instructions

After a standard system upgrade you need to reboot your computer to effect the necessary changes.

Learn more about how to get the fixes.

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

Ubuntu Release Package Version
7.04 feisty libgd2-xpm –  2.0.34~rc1-2ubuntu1.1
libgd2-noxpm –  2.0.34~rc1-2ubuntu1.1
6.10 edgy libgd2-xpm –  2.0.33-4ubuntu2.1
libgd2-noxpm –  2.0.33-4ubuntu2.1
6.06 dapper libgd2-xpm –  2.0.33-2ubuntu5.2
libgd2-noxpm –  2.0.33-2ubuntu5.2

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›