CVE-2007-3996

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.

Category

6.8
CVSS
Severity: Medium
CVSS 2.0 •
EPSS 6.96% Top 10%
Vendor Advisory gentoo.org Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory opensuse.org Vendor Advisory redhat.com Vendor Advisory gentoo.org Vendor Advisory trustix.org Vendor Advisory redhat.com Vendor Advisory ubuntu.com Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory secunia.com
Affected: n/a n/a
Published at:
Updated at:

References

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

Frequently Asked Questions

What is the severity of CVE-2007-3996?
CVE-2007-3996 has been scored as a medium severity vulnerability.
How to fix CVE-2007-3996?
To fix CVE-2007-3996, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2007-3996 being actively exploited in the wild?
It is possible that CVE-2007-3996 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~7% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.