php multiple integer overflows in gd
Published Sep 4, 2007
6.8
MEDIUMCVSS 2.0
EPSS 4.22%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 2.1
php-0:4.1.2-2.19
Fixed · RHSA-2007:0888
Red Hat Enterprise Linux 3
php-0:4.3.2-43.ent
Fixed · RHSA-2007:0889
Red Hat Enterprise Linux 4
php-0:4.3.9-3.22.9
Fixed · RHSA-2007:0890
Red Hat Enterprise Linux 5
php-0:5.1.6-15.el5
Fixed · RHSA-2007:0890
Red Hat Web Application Stack for RHEL 4
php-0:5.1.6-3.el4s1.8
Fixed · RHSA-2007:0891
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 2.1 | php-0:4.1.2-2.19 | Fixed | RHSA-2007:0888 |
| Red Hat Enterprise Linux 3 | php-0:4.3.2-43.ent | Fixed | RHSA-2007:0889 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.22.9 | Fixed | RHSA-2007:0890 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-15.el5 | Fixed | RHSA-2007:0890 |
| Red Hat Web Application Stack for RHEL 4 | php-0:5.1.6-3.el4s1.8 | Fixed | RHSA-2007:0891 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (25 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 4.22% (0.04219) | 90.69th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.22% (0.04219) | 89.67th | v5 (v2026.06.15) |
| Apr 26, 2026 | 15.13% (0.15128) | 94.61th | v4 (v2025.03.14) |
| Apr 23, 2026 | 13.54% (0.13543) | 94.26th | v4 (v2025.03.14) |
| Jan 10, 2026 | 9.57% (0.09573) | 92.61th | v4 (v2025.03.14) |
| Dec 28, 2025 | 8.36% (0.08358) | 91.99th | v4 (v2025.03.14) |
| Dec 27, 2025 | 6.31% (0.06310) | 90.69th | v4 (v2025.03.14) |
| Oct 28, 2025 | 8.36% (0.08358) | 91.89th | v4 (v2025.03.14) |
| Oct 27, 2025 | 6.31% (0.06310) | 90.56th | v4 (v2025.03.14) |
| Oct 1, 2025 | 8.36% (0.08358) | 91.98th | v4 (v2025.03.14) |
| Aug 11, 2025 | 6.31% (0.06310) | 90.56th | v4 (v2025.03.14) |
| Jul 30, 2025 | 5.03% (0.05033) | 89.33th | v4 (v2025.03.14) |
| Mar 30, 2025 | 6.96% (0.06959) | 90.55th | v4 (v2025.03.14) |
| Mar 29, 2025 | 14.33% (0.14327) | 90.70th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.96% (0.06959) | 90.76th | v4 (v2025.03.14) |
| Dec 17, 2024 | 5.41% (0.05414) | 93.04th | v3 (v2023.03.01) |
| Dec 12, 2024 | 2.79% (0.02786) | 90.99th | v3 (v2023.03.01) |
| May 31, 2024 | 2.76% (0.02758) | 90.58th | v3 (v2023.03.01) |
| Apr 23, 2024 | 5.61% (0.05614) | 93.17th | v3 (v2023.03.01) |
| Feb 6, 2024 | 5.43% (0.05426) | 92.44th | v3 (v2023.03.01) |
| Sep 10, 2023 | 9.57% (0.09568) | 94.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.92% (0.08918) | 93.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.23% (0.08228) | 93.49th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.23% (0.08228) | 92.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.23% (0.08228) | 82.23th | v2 (v2022.01.01) |
References (44)
- http://bugs.gentoo.org/show_bug.cgi?id=201546 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-security-announce/2008-01/msg00006.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2007-0889.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/26642 third-party-advisoryx_refsource_SECUNIAPatchVendor Advisory
- http://secunia.com/advisories/26822 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26838 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26871 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26895 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26930 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/26967 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27102 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27351 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27377 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27545 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28009 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28147 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28658 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/31168 third-party-advisoryx_refsource_SECUNIA
- http://security.gentoo.org/glsa/glsa-200712-13.xml vendor-advisoryx_refsource_GENTOO
- http://securityreason.com/securityalert/3103 third-party-advisoryx_refsource_SREASON
- http://secweb.se/en/advisories/php-imagecopyresized-integer-overflow/ x_refsource_MISCPatch
- http://secweb.se/en/advisories/php-imagecreatetruecolor-integer-overflow/ x_refsource_MISC
- http://support.avaya.com/elmodocs2/security/ASA-2007-449.htm x_refsource_CONFIRM
- http://www.debian.org/security/2008/dsa-1613 vendor-advisoryx_refsource_DEBIAN
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml vendor-advisoryx_refsource_GENTOO
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:187 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/ChangeLog-5.php#5.2.4 x_refsource_CONFIRMPatch
- http://www.php.net/releases/5_2_4.php x_refsource_CONFIRM
- http://www.redhat.com/support/errata/RHSA-2007-0888.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2007-0890.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2007-0891.html vendor-advisoryx_refsource_REDHAT
- http://www.trustix.org/errata/2007/0026/ vendor-advisoryx_refsource_TRUSTIX
- http://www.ubuntu.com/usn/usn-557-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/3023 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-3996 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=278031 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36382 vdb-entryx_refsource_XF
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36383 vdb-entryx_refsource_XF
- https://issues.rpath.com/browse/RPL-1693 x_refsource_CONFIRM
- https://issues.rpath.com/browse/RPL-1702 x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2007-3996
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11147 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2007-3996
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00354.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.