National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2008-3658 Detail

Current Description

Buffer overflow in the imageloadfont function in ext/gd/gd.c in PHP 4.4.x before 4.4.9 and PHP 5.2 before 5.2.6-r6 allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted font file.

Source:  MITRE      Last Modified:  08/14/2008      View Analysis Description

Evaluator Description

Mitre Description references "PHP 5.6 through 5.2.6" -- however research to the changelog for PHP 5 does not reflect a 5.6 release changelog: However, "Those issues are fixed by the recent php-4.4.9 release, but they affect php-5.2.6 as well and the fixes are not part of any released version in case of 5.2."

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (04/07/2009)

This issue has been addressed in the affected versions of PHP packages shipped in Red Hat Enterprise Linux via advisories listed on the following page:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source CONFIRM External Source APPLE APPLE-SA-2009-05-12 External Source SUSE SUSE-SR:2008:018 External Source SUSE SUSE-SR:2008:021 External Source HP SSRT090005 External Source HP HPSBUX02465 Exploit External Source MISC External Source GENTOO GLSA-200811-05 External Source CONFIRM External Source CONFIRM External Source DEBIAN DSA-1647 External Source MANDRIVA MDVSA-2009:021 External Source MANDRIVA MDVSA-2009:022 External Source MANDRIVA MDVSA-2009:023 External Source MANDRIVA MDVSA-2009:024 External Source MLIST [oss-security] 20080808 CVE request: php-5.2.6 overflow issues External Source MLIST [oss-security] 20080813 Re: CVE request: php-5.2.6 overflow issues External Source CONFIRM External Source REDHAT RHSA-2009:0350 External Source HP HPSBTU02382 External Source BUGTRAQ 20090302 rPSA-2009-0035-1 php php-cgi php-imap php-mcrypt php-mysql php-mysqli php-pgsql php-soap php-xsl php5 php5-cgi php5-imap php5-mcrypt php5-mysql php5-mysqli php5-pear php5-pgsql php5-soap php5-xsl External Source BID 30649 US Government Resource External Source CERT TA09-133A External Source VUPEN ADV-2008-2336 External Source VUPEN ADV-2008-3275 External Source VUPEN ADV-2009-0320 External Source VUPEN ADV-2009-1297 External Source XF php-imageloadfont-dos(44401) External Source OVAL oval:org.mitre.oval:def:9724 External Source FEDORA FEDORA-2009-3768 External Source FEDORA FEDORA-2009-3848

References to Check Content

Check System:

Technical Details

Vulnerability Type (View All)

Change History 3 change records found - show changes