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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
8.845%
chance of exploitation in the next 30 days
higher than 95.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Timeline
- 2008-12-26Published by the CNA20:00 UTC
- 2009-01-02First Exploit-DB entry (EDB-ID 7646)7 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 7646 | local | multiple | 2009-01-02 | yes |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | 5no fix listed5.0no fix listed5.0.0no fix listed5.0.1no fix listed5.0.2no fix listed(+19 more) | not listednot listednot listednot listednot listed |
References
- 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://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.redhat.com/support/errata/RHSA-2009-0350.html
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php
- 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://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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2008-5498'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2008-5498'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2008-5498'curl 'https://api.contrastcyber.com/cve_products/CVE-2008-5498'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).