Name | CVE-2008-5498 |
Description | Array index error in the imageRotate function in PHP 5.2.8 and earlier allows context-dependent attackers to read the contents of arbitrary memory locations via a crafted value of the third argument (aka the bgd_color or clrBack argument) for an indexed image. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
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 |
| sid, trixie | 2.3.3-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libgd2 | source | (unstable) | (not affected) | | | |
php5 | source | (unstable) | (not affected) | | | |
Notes
- php5 <not-affected> (php5 links to the shared lib)
- libgd2 <not-affected> (code is specific to php's libgd)
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1360&r2=1.2027.2.547.2.1361