CVE-2007-3996

PHP < 5.2.3 - Denial of Service and Possible Remote Code Execution via Integer Overflow in libgd

Title source: llm
STIX 2.1

Description

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

References (40)

Core 40
Core References
Patch x_refsource_confirm
http://www.php.net/ChangeLog-5.php#5.2.4
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26822
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200712-13.xml
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1613
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0888.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36382
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28658
Issue Tracking x_refsource_confirm
http://bugs.gentoo.org/show_bug.cgi?id=201546
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26967
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27351
Third Party Advisory vendor-advisory x_refsource_gentoo
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31168
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26930
Vendor Advisory vendor-advisory x_refsource_trustix
http://www.trustix.org/errata/2007/0026/
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2007-0889.html
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-1693
Issue Tracking x_refsource_confirm
https://issues.rpath.com/browse/RPL-1702
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27545
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-557-1
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26838
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3103
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27377
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28009
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2007:187
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27102
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3023
Release Notes x_refsource_confirm
http://www.php.net/releases/5_2_4.php
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28147
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26895
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0890.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0891.html
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26871
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36383
Patch, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26642

Scores

EPSS 0.1513
EPSS Percentile 94.7%

Details

CWE
CWE-189
Status published
Products (1)
php/php < 5.2.3
Published Sep 04, 2007
Tracked Since Feb 18, 2026