{"id":"CVE-2008-5498","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2008-12-26T20:00:00.000Z","updatedAt":"2024-08-07T10:56:46.437Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php","http://marc.info/?l=bugtraq&m=125631037611762&w=2","http://securitytracker.com/id?1021494","http://marc.info/?l=bugtraq&m=124654546101607&w=2","http://osvdb.org/51031","https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/47635","http://secunia.com/advisories/34642","http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html","http://www.php.net/releases/5_2_9.php","http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php","http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667","http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","http://www.redhat.com/support/errata/RHSA-2009-0350.html","https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html","http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","http://support.apple.com/kb/HT3865","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://secunia.com/advisories/36701","http://secunia.com/advisories/35306","http://secunia.com/advisories/35650","http://www.securityfocus.com/bid/33002"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:03.292Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/5xxx/CVE-2008-5498.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-5498","state":"PUBLISHED","datePublished":"2008-12-26T20:00:00.000Z","dateUpdated":"2024-08-07T10:56:46.437Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-12-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php","tags":["x_refsource_MISC"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"HPSBUX02465","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://securitytracker.com/id?1021494","name":"1021494","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"SSRT090085","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://osvdb.org/51031","name":"51031","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html","name":"FEDORA-2009-3768","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47635","name":"php-imagerotate-info-disclosure(47635)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/34642","name":"34642","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"SSRT090192","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html","name":"APPLE-SA-2009-09-10-2","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.php.net/releases/5_2_9.php","tags":["x_refsource_CONFIRM"]},{"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php","tags":["x_refsource_MISC"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","name":"MDVSA-2009:023","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","name":"MDVSA-2009:022","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667","name":"oval:org.mitre.oval:def:9667","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","name":"SUSE-SR:2009:008","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-0350.html","name":"RHSA-2009:0350","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html","name":"FEDORA-2009-3848","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","name":"MDVSA-2009:021","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://support.apple.com/kb/HT3865","tags":["x_refsource_CONFIRM"]},{"url":"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","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/36701","name":"36701","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/35306","name":"35306","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/33002","name":"33002","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-12-24T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-5498","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php","refsource":"MISC","url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php"},{"name":"HPSBUX02465","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2"},{"name":"1021494","refsource":"SECTRACK","url":"http://securitytracker.com/id?1021494"},{"name":"SSRT090085","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2"},{"name":"51031","refsource":"OSVDB","url":"http://osvdb.org/51031"},{"name":"FEDORA-2009-3768","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html"},{"name":"php-imagerotate-info-disclosure(47635)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47635"},{"name":"34642","refsource":"SECUNIA","url":"http://secunia.com/advisories/34642"},{"name":"SSRT090192","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2"},{"name":"APPLE-SA-2009-09-10-2","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html"},{"name":"http://www.php.net/releases/5_2_9.php","refsource":"CONFIRM","url":"http://www.php.net/releases/5_2_9.php"},{"name":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php","refsource":"MISC","url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php"},{"name":"MDVSA-2009:023","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023"},{"name":"MDVSA-2009:022","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022"},{"name":"oval:org.mitre.oval:def:9667","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667"},{"name":"SUSE-SR:2009:008","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html"},{"name":"RHSA-2009:0350","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2009-0350.html"},{"name":"FEDORA-2009-3848","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html"},{"name":"MDVSA-2009:021","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021"},{"name":"HPSBUX02431","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2"},{"name":"http://support.apple.com/kb/HT3865","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT3865"},{"name":"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","refsource":"CONFIRM","url":"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"},{"name":"36701","refsource":"SECUNIA","url":"http://secunia.com/advisories/36701"},{"name":"35306","refsource":"SECUNIA","url":"http://secunia.com/advisories/35306"},{"name":"35650","refsource":"SECUNIA","url":"http://secunia.com/advisories/35650"},{"name":"33002","refsource":"BID","url":"http://www.securityfocus.com/bid/33002"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"HPSBUX02465","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://securitytracker.com/id?1021494","name":"1021494","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"SSRT090085","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://osvdb.org/51031","name":"51031","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html","name":"FEDORA-2009-3768","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/47635","name":"php-imagerotate-info-disclosure(47635)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/34642","name":"34642","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=125631037611762&w=2","name":"SSRT090192","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html","name":"APPLE-SA-2009-09-10-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.php.net/releases/5_2_9.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:023","name":"MDVSA-2009:023","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:022","name":"MDVSA-2009:022","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667","name":"oval:org.mitre.oval:def:9667","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html","name":"SUSE-SR:2009:008","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-0350.html","name":"RHSA-2009:0350","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html","name":"FEDORA-2009-3848","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2009:021","name":"MDVSA-2009:021","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=124654546101607&w=2","name":"HPSBUX02431","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://support.apple.com/kb/HT3865","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"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","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/36701","name":"36701","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/35306","name":"35306","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/35650","name":"35650","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/33002","name":"33002","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T10:56:46.437Z"}}]}}}