Skip to content
OpenAdvisories
Unscored CVE-2007-3996 EUVD-2007-3980GHSA-8378-c84x-wpqv

Multiple integer overflows in libgd in PHP before 5.2.4 allow remote attackers to cause a denial of service (application crash) and possibl…

Published Sep 4, 2007 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgd2 2.0.35.dfsg-1 —
Debian 14 libwmf No fix yet —
Debian 14 racket 5.0.2-1 —
Debian 13 libgd2 2.0.35.dfsg-1 —
Debian 13 libwmf No fix yet —
Debian 13 racket 5.0.2-1 —
Debian 12 libgd2 2.0.35.dfsg-1 —
Debian 12 libwmf No fix yet —
Debian 12 racket 5.0.2-1 —
Debian 4.0 libgd2 2.0.33-5.2etch1 DSA-1613-1
ReleasePackageFixed inAdvisory
RHEL 5 php +18 5.1.6-15.el5 RHSA-2007:0890
RHEL 4 php +13 4.3.9-3.22.9 RHSA-2007:0890
RHEL 3 php +6 4.3.2-43.ent RHSA-2007:0889
RHEL 2 php +7 4.1.2-2.19 RHSA-2007:0888
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Application Stack 2 php +18 5.2.3-3.el5s2 RHSA-2007:0917
Red Hat Rhel Application Stack 1 php +18 5.1.6-3.el4s1.8 RHSA-2007:0891

Advisories 6

References