CVE-2007-3996

NameCVE-2007-3996
DescriptionMultiple 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1613-1
NVD severitymedium (attack range: remote)
Debian Bugs443456, 601525

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgd2 (PTS)wheezy2.0.36~rc1~dfsg-6.1+deb7u2fixed
wheezy (security)2.0.36~rc1~dfsg-6.1+deb7u5fixed
jessie (security), jessie2.1.0-5+deb8u6fixed
stretch, sid2.2.3-3fixed
libwmf (PTS)wheezy (security), wheezy0.2.8.4-10.3+deb7u1vulnerable
jessie (security), jessie0.2.8.4-10.3+deb8u1vulnerable
stretch, sid0.2.8.4-10.5vulnerable
racket (PTS)wheezy5.2.1+g6~92c8784+dfsg2-2+deb7u1fixed
jessie6.1-4fixed
stretch, sid6.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgd2source(unstable)2.0.35.dfsg-1medium443456
libgd2sourceetch2.0.33-5.2etch1mediumDSA-1613-1
libwmfsource(unstable)(unfixed)unimportant
racketsource(unstable)5.0.2-1unimportant601525

Notes

Only present in one of the sample pl-scheme packages (plot)
Debian's PHP packages are linked dynamically against libgd
see http://www.php.net/releases/5_2_4.php

Search for package or bug name: Reporting problems