CVE-2007-3996

critical

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

https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147

https://issues.rpath.com/browse/RPL-1702

https://issues.rpath.com/browse/RPL-1693

https://exchange.xforce.ibmcloud.com/vulnerabilities/36383

https://exchange.xforce.ibmcloud.com/vulnerabilities/36382

http://www.vupen.com/english/advisories/2007/3023

http://www.ubuntu.com/usn/usn-557-1

http://www.trustix.org/errata/2007/0026/

http://www.redhat.com/support/errata/RHSA-2007-0891.html

http://www.redhat.com/support/errata/RHSA-2007-0890.html

http://www.redhat.com/support/errata/RHSA-2007-0888.html

http://www.php.net/releases/5_2_4.php

http://www.php.net/ChangeLog-5.php#5.2.4

http://www.mandriva.com/security/advisories?name=MDKSA-2007:187

http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml

http://www.debian.org/security/2008/dsa-1613

http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm

http://secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow/

http://secweb.se/en/advisories/php-imagecopyresized-integer-overflow/

http://securityreason.com/securityalert/3103

http://security.gentoo.org/glsa/glsa-200712-13.xml

http://secunia.com/advisories/31168

http://secunia.com/advisories/28658

http://secunia.com/advisories/28147

http://secunia.com/advisories/28009

http://secunia.com/advisories/27545

http://secunia.com/advisories/27377

http://secunia.com/advisories/27351

http://secunia.com/advisories/27102

http://secunia.com/advisories/26967

http://secunia.com/advisories/26930

http://secunia.com/advisories/26895

http://secunia.com/advisories/26871

http://secunia.com/advisories/26838

http://secunia.com/advisories/26822

http://secunia.com/advisories/26642

http://rhn.redhat.com/errata/RHSA-2007-0889.html

http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html

http://bugs.gentoo.org/show_bug.cgi?id=201546

Details

Source: Mitre, NVD

Published: 2007-09-04

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical