Back to CVE catalog
CVE-2008-5498

PHP imageRotate Function Array Index Error Allows Arbitrary Memory Read

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityNone
AvailabilityNone

CVSS summary v2.0

5.0Medium
Published:
Updated:
EPSS:
8.845%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 5.2.8Show full version range for php
55.05.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.25.2.35.2.45.2.55.2.65.2.7
Vendor:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-bcmath
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-cli
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-common
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-dba
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-gd
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-imap
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3
Vendor:oraclelinuxphp-ldap
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:5.1.6-23.2.el5_3

1–10 of 132 · Page 1 of 14

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories36

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences