{"id":"CVE-2007-3996","sourceIdentifier":"cve@mitre.org","published":"2007-09-04T18:17:00.000","lastModified":"2026-06-16T22:43:12.257","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Múltiples desbordamientos de búfer en libgd de PHP versiones anteriores a 5.2.4 permiten a atacantes remotos provocar una denegación de servicio (caída de aplicación) y posiblemente ejecutar código de su elección mediante un valor largo (1) srcW ó (2) srcH en la función gdImageCopyResized, o un valor largo (3) sy (altura) ó (4) sx (anchura) en la función (b) gdImageCreate ó (c) gdImageCreateTrueColor."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-189"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.2.3","matchCriteriaId":"0CDA10FE-C930-4399-A0AE-1C9A6D547FB9"}]}]}],"references":[{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201546","source":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0889.html","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26642","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/26822","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26838","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26871","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26895","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26930","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/26967","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27102","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27351","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27377","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/27545","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28009","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28147","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/28658","source":"cve@mitre.org"},{"url":"http://secunia.com/advisories/31168","source":"cve@mitre.org"},{"url":"http://security.gentoo.org/glsa/glsa-200712-13.xml","source":"cve@mitre.org"},{"url":"http://securityreason.com/securityalert/3103","source":"cve@mitre.org"},{"url":"http://secweb.se/en/advisories/php-imagecopyresized-integer-overflow/","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow/","source":"cve@mitre.org"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2008/dsa-1613","source":"cve@mitre.org"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"cve@mitre.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","source":"cve@mitre.org"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://www.php.net/releases/5_2_4.php","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0888.html","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html","source":"cve@mitre.org"},{"url":"http://www.trustix.org/errata/2007/0026/","source":"cve@mitre.org"},{"url":"http://www.ubuntu.com/usn/usn-557-1","source":"cve@mitre.org"},{"url":"http://www.vupen.com/english/advisories/2007/3023","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36382","source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36383","source":"cve@mitre.org"},{"url":"https://issues.rpath.com/browse/RPL-1693","source":"cve@mitre.org"},{"url":"https://issues.rpath.com/browse/RPL-1702","source":"cve@mitre.org"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147","source":"cve@mitre.org"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html","source":"cve@mitre.org"},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=201546","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2007-0889.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26642","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://secunia.com/advisories/26822","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26838","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26871","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26895","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26930","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/26967","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27102","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27351","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27377","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/27545","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28009","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28147","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/28658","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/31168","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://security.gentoo.org/glsa/glsa-200712-13.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://securityreason.com/securityalert/3103","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secweb.se/en/advisories/php-imagecopyresized-integer-overflow/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2008/dsa-1613","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:187","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://www.php.net/releases/5_2_4.php","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0888.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0890.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0891.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.trustix.org/errata/2007/0026/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.ubuntu.com/usn/usn-557-1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.vupen.com/english/advisories/2007/3023","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36382","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36383","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://issues.rpath.com/browse/RPL-1693","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://issues.rpath.com/browse/RPL-1702","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html","source":"af854a3a-2127-422b-91ae-364da2661108"}]}