CVE-2007-3996

Summary

CVECVE-2007-3996
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2007-09-04 18:17:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionMultiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a large (1) srcW or (2) srcH value to the (a) gdImageCopyResized function, or a large (3) sy (height) or (4) sx (width) value to the (b) gdImageCreate or the (c) gdImageCreateTrueColor function.

Risk And Classification

Primary CVSS: v2.0 6.8 from [email protected]

AV:N/AC:M/Au:N/C:P/I:P/A:P

Problem Types: CWE-189 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:M/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Gentoo Bug 201546 - sys-fs/e2fsprogs < 1.40.3 Multiple buffer overflows (CVE-2007-5497) af854a3a-2127-422b-91ae-364da2661108 bugs.gentoo.org
www.trustix.org/errata/2007/0026 af854a3a-2127-422b-91ae-364da2661108 www.trustix.org
Fedora update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Red Hat update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
[security-announce] SUSE Security Announcement: php4, php5 (SUSE-SA:2008 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Gentoo Linux Documentation -- E2fsprogs: Multiple buffer overflows af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org
Debian update for libgd2 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
rPath update for php, php-mysql and php-pgsql - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
USN-557-1: GD library vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Mandriva update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
SUSE update for php4 and php5 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
[SECURITY] Fedora Core 6 Update: php-5.1.6-3.7.fc6 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Gentoo Linux Documentation -- PHP: Multiple vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.gentoo.org
PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Patch, Vendor Advisory
Trustix Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Ubuntu update for libgd2 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Red Hat update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
issues.rpath.com/browse/RPL-1693 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
Advisories | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Red Hat update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Gentoo update for e2fsprogs - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
ASA-2007-449 (RHSA-2007-0888, RHSA-2007-0889 & RHSA-2007-0890) af854a3a-2127-422b-91ae-364da2661108 support.avaya.com
rPath Update for Multiple php Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
PHP ImageCopyResized/ImageCopyResampled Integer Overflow af854a3a-2127-422b-91ae-364da2661108 secweb.se Patch
Gentoo update for php - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
PHP: PHP 5.2.4 Release Announcement af854a3a-2127-422b-91ae-364da2661108 www.php.net
issues.rpath.com/browse/RPL-1702 af854a3a-2127-422b-91ae-364da2661108 issues.rpath.com
SecurityReason - PHP ImageCopyResized/ImageCopyResampled Integer Overflow af854a3a-2127-422b-91ae-364da2661108 securityreason.com
PHP ImageCreate/ImageCreateTrueColor Integer Overflow af854a3a-2127-422b-91ae-364da2661108 secweb.se
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Avaya Products PHP Multiple Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
Debian -- Security Information -- DSA-1613-1 libgd2 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
PHP: PHP 5 ChangeLog af854a3a-2127-422b-91ae-364da2661108 www.php.net Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report