All vulnerabilities

Servers and applications

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.

Severity
Medium 5.0
Published
26 Dec 2008
Last changed
16 Jun 2026
Added to UpHeron
14 Oct 2026
Exploit chance
8.8% in the next 30 daysHigher than 95% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · No login needed
Attacker can
Read some data
CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 5.2.7
  • Version 5.2.6
  • Version 5.2.5
  • Version 5.2.4
All 32 release lines
  • Every version up to 5.2.8
  • Version 5.0.0-beta1
  • Version 5.0.0-beta2
  • Version 5.0.0-beta3
  • Version 5.0.0-beta4
  • Version 5.0-rc1
  • Version 5.0.0-rc1
  • Version 5.0-rc2
  • Version 5.0.0-rc2
  • Version 5.0-rc3
  • Version 5.0.0-rc3
  • Version 5
  • Version 5.0.1
  • Version 5.0.2
  • Version 5.0.3
  • Version 5.0.4
  • Version 5.0.5
  • Version 5.1.0
  • Version 5.1.1
  • Version 5.1.2
  • Version 5.1.3
  • Version 5.1.4
  • Version 5.1.5
  • Version 5.1.6
  • Version 5.2.0
  • Version 5.2.1
  • Version 5.2.2
  • Version 5.2.3
  • Version 5.2.4
  • Version 5.2.5
  • Version 5.2.6
  • Version 5.2.7

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2008-5498
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2008-5498