CVE-2008-5498 EXPLOIT
5.0
MEDIUM · CVSS 2.0 · EPSS 8.8% (pctl 95)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 5.0 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| EPSS | 8.85% — more likely to be exploited than 95% of all CVEs |
| Weakness | CWE-200 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2008-12-26 |
| Last modified | 2026-06-16 |
Affected (1)
| Vendor | Product |
|---|---|
| php | php |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | PHP 5.2.8 gd library - 'imageRotate()' Information Leak | 2009-01-02 |
References
- http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1360&r2=1.2027.2.547.2.1361&diff_format=u
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://osvdb.org/51031
- http://secunia.com/advisories/34642
- http://secunia.com/advisories/35306
- http://secunia.com/advisories/35650
- http://secunia.com/advisories/36701
- http://securitytracker.com/id?1021494
- http://support.apple.com/kb/HT3865
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:021
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
- http://www.php.net/releases/5_2_9.php
- http://www.redhat.com/support/errata/RHSA-2009-0350.html
- http://www.securityfocus.com/bid/33002
→ the Explorer · watch your stack · NVD