Skip to content

CVE-2007-3996 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 val...

MediumCVSS 6.8 EPSS 4.2%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
PHP <= 5.2.3 No fix listed
debian/libgd2(Debian:12) < 2.0.35.dfsg-1 2.0.35.dfsg-1
debian/libgd2(Debian:13) < 2.0.35.dfsg-1 2.0.35.dfsg-1
debian/libgd2(Debian:14) < 2.0.35.dfsg-1 2.0.35.dfsg-1
debian/libwmf(Debian:12) All versions No fix listed
debian/libwmf(Debian:12) = 0.2.12-5.1 No fix listed
debian/libwmf(Debian:12) = 0.2.12-5.2 No fix listed
debian/libwmf(Debian:12) = 0.2.13-1 No fix listed
debian/libwmf(Debian:12) = 0.2.13-1.1 No fix listed
debian/libwmf(Debian:12) = 0.2.13-2 No fix listed
debian/libwmf(Debian:12) = 0.2.14-1 No fix listed
debian/libwmf(Debian:13) All versions No fix listed
debian/libwmf(Debian:13) = 0.2.13-1.1 No fix listed
debian/libwmf(Debian:13) = 0.2.13-2 No fix listed
debian/libwmf(Debian:13) = 0.2.14-1 No fix listed
debian/libwmf(Debian:14) All versions No fix listed
debian/libwmf(Debian:14) = 0.2.13-1.1 No fix listed
debian/libwmf(Debian:14) = 0.2.13-2 No fix listed
debian/libwmf(Debian:14) = 0.2.14-1 No fix listed
debian/racket(Debian:12) < 5.0.2-1 5.0.2-1
debian/racket(Debian:13) < 5.0.2-1 5.0.2-1
debian/racket(Debian:14) < 5.0.2-1 5.0.2-1

References