Name | CVE-2007-3996 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more) |
References | DSA-1613-1 |
NVD severity | medium |
Debian Bugs | 443456, 601525 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libgd2 (PTS) | stretch | 2.2.4-2+deb9u5 | fixed |
stretch (security) | 2.2.4-2+deb9u4 | fixed | |
buster | 2.2.5-5.2 | fixed | |
bullseye, sid | 2.3.0-2 | fixed | |
libwmf (PTS) | stretch | 0.2.8.4-10.6 | vulnerable |
buster | 0.2.8.4-14 | vulnerable | |
bullseye, sid | 0.2.8.4-17 | vulnerable | |
racket (PTS) | stretch | 6.7-3 | fixed |
buster | 7.2+dfsg1-2 | fixed | |
bullseye, sid | 7.9+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libgd2 | source | etch | 2.0.33-5.2etch1 | DSA-1613-1 | ||
libgd2 | source | (unstable) | 2.0.35.dfsg-1 | medium | 443456 | |
libwmf | source | (unstable) | (unfixed) | unimportant | ||
racket | source | (unstable) | 5.0.2-1 | unimportant | 601525 |
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