php: libgd imagerotate() array index error memory disclosure
Published Dec 26, 2008
5.0
MEDIUMCVSS 2.0
EPSS 8.85%
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.
Affected products
No data.
- ≤ 5.2.8
- 5
- 5.0
- 5.0
- 5.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.0
- 5.0.1
- 5.0.2
- 5.0.3
- 5.0.4
- 5.0.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.2.0
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
No data.
Red Hat Enterprise Linux 3
php-0:4.3.2-51.ent
Fixed · RHSA-2009:0337
Red Hat Enterprise Linux 4
php-0:4.3.9-3.22.15
Fixed · RHSA-2009:0337
Red Hat Enterprise Linux 5
php-0:5.1.6-23.2.el5_3
Fixed · RHSA-2009:0338
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | php-0:4.3.2-51.ent | Fixed | RHSA-2009:0337 |
| Red Hat Enterprise Linux 4 | php-0:4.3.9-3.22.15 | Fixed | RHSA-2009:0337 |
| Red Hat Enterprise Linux 5 | php-0:5.1.6-23.2.el5_3 | Fixed | RHSA-2009:0338 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 8.85% (0.08845) | 95.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 8.85% (0.08845) | 94.51th | v5 (v2026.06.15) |
| Dec 28, 2025 | 11.10% (0.11101) | 93.22th | v4 (v2025.03.14) |
| Dec 27, 2025 | 15.27% (0.15267) | 94.43th | v4 (v2025.03.14) |
| Oct 28, 2025 | 11.10% (0.11101) | 93.12th | v4 (v2025.03.14) |
| Oct 27, 2025 | 15.27% (0.15267) | 94.34th | v4 (v2025.03.14) |
| Oct 1, 2025 | 11.10% (0.11101) | 93.23th | v4 (v2025.03.14) |
| Jul 30, 2025 | 15.27% (0.15267) | 94.32th | v4 (v2025.03.14) |
| Mar 30, 2025 | 11.10% (0.11101) | 92.83th | v4 (v2025.03.14) |
| Mar 29, 2025 | 17.51% (0.17505) | 91.86th | v4 (v2025.03.14) |
| Mar 17, 2025 | 11.10% (0.11101) | 92.93th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.48% (0.01476) | 87.31th | v3 (v2023.03.01) |
| Jul 6, 2024 | 1.48% (0.01476) | 86.87th | v3 (v2023.03.01) |
| May 8, 2024 | 1.50% (0.01500) | 86.82th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.50% (0.01500) | 84.82th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.57% (0.12567) | 95.52th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.57% (0.12567) | 95.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.57% (0.12567) | 90.03th | v2 (v2022.01.01) |
References (28)
- 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 x_refsource_CONFIRM
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002-2.php x_refsource_MISCExploit
- http://downloads.securityfocus.com/vulnerabilities/exploits/33002.php x_refsource_MISCExploit
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00004.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 vendor-advisoryx_refsource_HP
- http://osvdb.org/51031 vdb-entryx_refsource_OSVDB
- http://secunia.com/advisories/34642 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35306 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/35650 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/36701 third-party-advisoryx_refsource_SECUNIA
- http://securitytracker.com/id?1021494 vdb-entryx_refsource_SECTRACK
- http://support.apple.com/kb/HT3865 x_refsource_CONFIRM
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:021 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:022 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:023 vendor-advisoryx_refsource_MANDRIVA
- http://www.php.net/releases/5_2_9.php x_refsource_CONFIRM
- http://www.redhat.com/support/errata/RHSA-2009-0350.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/33002 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2008-5498 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=478425 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/47635 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-5498
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2008-5498
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01451.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01465.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.