Ubuntu 6.06 LTS / 6.10 / 7.04 : libgd2 vulnerabilities (USN-473-1)

High Nessus Plugin ID 28074


The remote Ubuntu host is missing one or more security-related patches.


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.

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).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: High

ID: 28074

File Name: ubuntu_USN-473-1.nasl

Version: $Revision: 1.12 $

Type: local

Agent: unix

Published: 2007/11/10

Modified: 2017/03/09

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:ND/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libgd-tools, p-cpe:/a:canonical:ubuntu_linux:libgd2, p-cpe:/a:canonical:ubuntu_linux:libgd2-dev, p-cpe:/a:canonical:ubuntu_linux:libgd2-noxpm, p-cpe:/a:canonical:ubuntu_linux:libgd2-noxpm-dev, p-cpe:/a:canonical:ubuntu_linux:libgd2-xpm, p-cpe:/a:canonical:ubuntu_linux:libgd2-xpm-dev, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, cpe:/o:canonical:ubuntu_linux:6.10, cpe:/o:canonical:ubuntu_linux:7.04

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2007/06/11

Vulnerability Publication Date: 2007/01/29

Reference Information

CVE: CVE-2007-0455, CVE-2007-2756

OSVDB: 33008, 35788, 36643

USN: 473-1

CWE: 119