Vulnerabilities · 2008 · Php
CVE-2008-5498
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php · Exploit
- downloads.securityfocus.com/vulnerabilities/exploits/33002.php · Exploit
- cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1360&r2=1.2027.2.547.2.1361&diff_for
- lists.apple.com/archives/security-announce/2009/Sep/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
- marc.info/?l=bugtraq&m=124654546101607&w=2
- marc.info/?l=bugtraq&m=125631037611762&w=2
- osvdb.org/51031
- nvd.nist.gov/vuln/detail/CVE-2008-5498
- cve.org/CVERecord?id=CVE-2008-5498
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.