CVE-2008-5498

high

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.

References

https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html

https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667

https://exchange.xforce.ibmcloud.com/vulnerabilities/47635

https://euvd.enisa.europa.eu/vulnerability/EUVD-2008-5475

http://www.securityfocus.com/bid/33002

http://www.redhat.com/support/errata/RHSA-2009-0350.html

http://www.php.net/releases/5_2_9.php

http://www.mandriva.com/security/advisories?name=MDVSA-2009:023

http://www.mandriva.com/security/advisories?name=MDVSA-2009:022

http://www.mandriva.com/security/advisories?name=MDVSA-2009:021

http://support.apple.com/kb/HT3865

http://securitytracker.com/id?1021494

http://secunia.com/advisories/36701

http://secunia.com/advisories/35650

http://secunia.com/advisories/35306

http://secunia.com/advisories/34642

http://osvdb.org/51031

http://marc.info/?l=bugtraq&m=125631037611762&w=2

http://marc.info/?l=bugtraq&m=124654546101607&w=2

http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html

http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html

http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php

http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.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

Details

Source: Mitre, NVD

Published: 2008-12-26

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: High

EPSS

EPSS: 0.11101