php: extract() can overwrite $GLOBALS and $this when using EXTR_OVERWRITE
Published Feb 2, 2011
5.0
MEDIUMCVSS 2.0
EPSS 1.34%
Description
The extract function in PHP before 5.2.15 does not prevent use of the EXTR_OVERWRITE parameter to overwrite (1) the GLOBALS superglobal array and (2) the this variable, which allows context-dependent attackers to bypass intended access restrictions by modifying data structures that were not intended to depend on external input, a related issue to CVE-2005-2691 and CVE-2006-3758.
Affected products
No data.
- ≤ 5.2.14
- 1.0
- 2.0
- 2.0b10
- 3.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.13
- 3.0.14
- 3.0.15
- 3.0.16
- 3.0.17
- 3.0.18
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0
- 4.0.0
- 4.0.1
- 4.0.2
- 4.0.3
- 4.0.4
- 4.0.5
- 4.0.6
- 4.0.7
- 4.1.0
- 4.1.1
- 4.1.2
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.3.9
- 4.3.10
- 4.3.11
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 4.4.6
- 4.4.7
- 4.4.8
- 4.4.9
- 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
- 5.2.8
- 5.2.9
- 5.2.10
- 5.2.11
- 5.2.12
- 5.2.13
No data.
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
We do not consider this flaw to be a security issue as it is only exploitable by the script author. No trust boundary is crossed. This issue did not affect the versions of PHP as shipped with Red Hat Enterprise Linux 3, 4, or 5 (php). This issue was addressed in the php53 packages as shipped in Red Hat Enterprise Linux 5 before their first release in Red Hat Enterprise Linux 5.6, and it was addressed in the php package in Red Hat Enterprise Linux 6 via RHBA-2011:0615.
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:N/I:P/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 1, 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 (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.34% (0.01337) | 70.19th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.34% (0.01337) | 67.44th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.54% (0.00544) | 65.76th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.49% (0.00494) | 76.98th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.49% (0.00494) | 75.49th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.49% (0.00494) | 72.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
References (11)
- http://marc.info/?l=bugtraq&m=133469208622507&w=2 vendor-advisoryx_refsource_HP
- http://www.openwall.com/lists/oss-security/2010/12/13/4 mailing-listx_refsource_MLIST
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.php.net/archive/2010.php#id2010-12-10-1 x_refsource_CONFIRM
- http://www.php.net/releases/5_2_15.php x_refsource_CONFIRM
- https://access.redhat.com/security/cve/CVE-2011-0752 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=674699 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65432 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2011-0752
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12016 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2011-0752
| Link | Providers | Tags |
|---|---|---|
| http://marc.info/?l=bugtraq&m=133469208622507&w=2 | vendor-advisoryx_refsource_HP | |
| http://www.openwall.com/lists/oss-security/2010/12/13/4 | mailing-listx_refsource_MLIST | |
| http://www.php.net/ChangeLog-5.php | x_refsource_CONFIRM | |
| http://www.php.net/archive/2010.php#id2010-12-10-1 | x_refsource_CONFIRM | |
| http://www.php.net/releases/5_2_15.php | x_refsource_CONFIRM | |
| https://access.redhat.com/security/cve/CVE-2011-0752 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=674699 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/65432 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-0752 | ||
| https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12016 | vdb-entrysignaturex_refsource_OVAL | |
| https://www.cve.org/CVERecord?id=CVE-2011-0752 |
Change history (0)
No recorded changes yet.