Array index error in the imageRotate function in PHP 5.2.8 and earlier allows context-dependent attackers to read the contents of arbitrary
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Dec 26, 2008
- Updated
- Jun 16, 2026
- EPSS
- 8.8% · 95th percentile
- CWE
- CWE-200
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php phpup to 5.2.8 inclusive
- php php5
- php php5.0
- php php5.0.0
- php php5.0.1
- php php5.0.2
- php php5.0.3
- php php5.0.4
- php php5.0.5
- php php5.1.0
- php php5.1.1
- php php5.1.2
- php php5.1.3
- php php5.1.4
- php php5.1.5
- php php5.1.6
- php php5.2.0
- php php5.2.1
- php php5.2.2
- php php5.2.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:3::as | php | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-debuginfo | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-devel | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-imap | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-ldap | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-mysql | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-odbc | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:3::as | php-pgsql | before 0:4.3.2-51.ent | 0:4.3.2-51.ent |
| Red Hat:enterprise_linux:4::as | php | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-debuginfo | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-devel | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-domxml | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-gd | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-imap | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-ldap | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-mbstring | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-mysql | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-ncurses | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-odbc | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-pear | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-pgsql | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-snmp | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:4::as | php-xmlrpc | before 0:4.3.9-3.22.15 | 0:4.3.9-3.22.15 |
| Red Hat:enterprise_linux:5::client_workstation | php | before 0:5.1.6-23.2.el5_3 | 0:5.1.6-23.2.el5_3 |
+39
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
- CVE-2018-7584In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while pa65This week
- CVE-2018-19518University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of 59Plan
- CVE-2016-3078Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-b56Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:php | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-debuginfo | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-devel | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-domxml | 0:4.3.9-3.22.15 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-gd | 0:4.3.9-3.22.15 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-imap | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ldap | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-mbstring | 0:4.3.9-3.22.15 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-mysql | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-ncurses | 0:4.3.9-3.22.15 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:php-odbc | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:php-pgsql | 0:4.3.2-51.ent · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | local | 2009-01-02 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+6 d
- TodaySep 30, 2026+6487 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- none
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-200 · Exposure of Sensitive Information to an Unauthorized ActorCVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
nvd-primary
Root cause
The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.
The bug in code
The whole CWE-200 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
{ "permissions": ["tabs", "<all_urls>"], "background": { "service_worker": "analytics.js" }}Fixed
{ "permissions": ["activeTab"], "host_permissions": ["https://yildiz.example/*"]}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- ExcavationCAPEC-116likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- FootprintingCAPEC-169likelihood: High · Very Low
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- FingerprintingCAPEC-224likelihood: High · Very Low
- ICMP Echo Request PingCAPEC-285likelihood: Medium · Low
- TCP SYN ScanCAPEC-287Low
- Enumerate Mail Exchange (MX) RecordsCAPEC-290Low
ATT&CK techniques
- System Service DiscoveryT1007
- System Network Configuration DiscoveryT1016
- Remote System DiscoveryT1018
- System Owner/User DiscoveryT1033
- Masquerading: Match Legitimate Name or LocationT1036.005
- Network Service ScanningT1046
- System Network Connections DiscoveryT1049
- Process DiscoveryT1057
- Permission Groups DiscoveryT1069
- System Information DiscoveryT1082
- File and Directory DiscoveryT1083
- Account DiscoveryT1087
- Multi-Factor Authentication InterceptionT1111
- Peripheral Device DiscoveryT1120
- System Time DiscoveryT1124
- Access Token Manipulation:Token Impersonation/TheftT1134.001
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- 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
- lists.apple.com/archives/security-announce/2009/Sep/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2009-04/msg00003.html
- marc.info/?l=bugtraq&m=124654546101607&w=2
- marc.info/?l=bugtraq&m=125631037611762&w=2
- osvdb.org/51031
- secunia.com/advisories/34642
- secunia.com/advisories/35306
- secunia.com/advisories/35650
- secunia.com/advisories/36701
- securitytracker.com/id?1021494
- support.apple.com/kb/HT3865
- www.mandriva.com/security/advisories?name=MDVSA-2009:021
- www.mandriva.com/security/advisories?name=MDVSA-2009:022
- www.mandriva.com/security/advisories?name=MDVSA-2009:023
- www.php.net/releases/5_2_9.php
- www.redhat.com/support/errata/RHSA-2009-0350.html
- www.securityfocus.com/bid/33002
- exchange.xforce.ibmcloud.com/vulnerabilities/47635
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9667
Vendor advisories and official records. Exploit/PoC links are deliberately left out.