CVE-2007-3996

    Dashboard / Vulnerabilities / CVE-2007-3996

    CVE-2007-3996

    Published: 4 Sept 2007Last Modified: 10 Apr 2026

    Summary:

    Details: 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: http://rhn.redhat.com/errata/RHSA-2007-0889.html, http://secunia.com/advisories/26642, http://secunia.com/advisories/26822, http://secunia.com/advisories/26838, http://secunia.com/advisories/26871, http://secunia.com/advisories/26895, http://secunia.com/advisories/26930, http://secunia.com/advisories/26967, http://secunia.com/advisories/27102, http://secunia.com/advisories/27351, http://secunia.com/advisories/27377, http://secunia.com/advisories/27545, http://secunia.com/advisories/28009, http://secunia.com/advisories/28147, http://secunia.com/advisories/28658, http://secunia.com/advisories/31168, http://security.gentoo.org/glsa/glsa-200712-13.xml, http://secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow/, http://www.debian.org/security/2008/dsa-1613, http://www.mandriva.com/security/advisories?name=MDKSA-2007:187, http://www.ubuntu.com/usn/usn-557-1, http://www.vupen.com/english/advisories/2007/3023, http://secunia.com/advisories/26642, http://secweb.se/en/advisories/php-imagecopyresized-integer-overflow/, http://www.php.net/ChangeLog-5.php#5.2.4, http://bugs.gentoo.org/show_bug.cgi?id=201546, http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html, http://securityreason.com/securityalert/3103, http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm, http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml, http://www.php.net/releases/5_2_4.php, http://www.redhat.com/support/errata/RHSA-2007-0888.html, http://www.redhat.com/support/errata/RHSA-2007-0890.html, http://www.redhat.com/support/errata/RHSA-2007-0891.html, http://www.trustix.org/errata/2007/0026/, https://exchange.xforce.ibmcloud.com/vulnerabilities/36382, https://exchange.xforce.ibmcloud.com/vulnerabilities/36383, https://issues.rpath.com/browse/RPL-1693, https://issues.rpath.com/browse/RPL-1702, https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147, https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html

    Affected packages

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High