Information disclosure in PHP

CVE-2008-5498

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.

Vulnerability class: Information Disclosure

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.088, 95.3th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • PHP — versions 5, 5.0, 5.0.0

Weakness classification (CWE)

References