| Name | CVE-2009-3546 |
| Description | The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to conduct buffer overflow or buffer over-read attacks via a crafted GD file, a different vulnerability than CVE-2009-3293. NOTE: some of these details are obtained from third party information. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-1936-1 |
| Debian Bugs | 552534, 601525 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libgd2 (PTS) | bullseye | 2.3.0-2 | fixed |
| bookworm | 2.3.3-9 | fixed | |
| forky, sid, trixie | 2.3.3-13 | fixed | |
| libwmf (PTS) | bullseye | 0.2.8.4-17 | vulnerable |
| bookworm | 0.2.12-5.1 | vulnerable | |
| trixie | 0.2.13-1.1 | vulnerable | |
| forky, sid | 0.2.13-2 | vulnerable | |
| racket (PTS) | bullseye | 7.9+dfsg1-2 | fixed |
| bookworm | 8.7+dfsg1-1 | fixed | |
| trixie | 8.16+dfsg1-3 | fixed | |
| forky, sid | 8.18+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.2etch2 | DSA-1936-1 | ||
| libgd2 | source | lenny | 2.0.36~rc1~dfsg-3+lenny1 | DSA-1936-1 | ||
| libgd2 | source | (unstable) | 2.0.36~rc1~dfsg-3.1 | medium | 552534 | |
| libwmf | source | (unstable) | (unfixed) | unimportant | ||
| php5 | source | (unstable) | (not affected) | |||
| racket | source | (unstable) | 5.0.2-1 | unimportant | 601525 |
Only present in one of the sample pl-scheme packages (plot)
- php5 <not-affected> (the php packages use the system libgd2)
http://svn.php.net/viewvc?view=revision&revision=289557
<20091015173822.084de220@redhat.com> in OSS-sec