CVE-2008-5498

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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
8.845%
chance of exploitation in the next 30 days
higher than 95.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2008-12-26Published by the CNA20:00 UTC
  2. 2009-01-02First Exploit-DB entry (EDB-ID 7646)7 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 7646localmultiple2009-01-02yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
php php5no fix listed5.0no fix listed5.0.0no fix listed5.0.1no fix listed5.0.2no fix listed(+19 more)not listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

24 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources