{"id":"CVE-2007-1582","published":"2007-03-21T23:00:00Z","modified":"2024-08-07T12:59:08Z","title":"The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute…","vendor":null,"product":null,"tier":"tail","description":{"text":"The resource system in PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting certain functions in the GD (ext/gd) extension and unspecified other extensions via a userspace error handler, which can be used to destroy and modify internal resources.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06008,"percentile":0.93504,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/23046","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/3525","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/24542","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.php-security.org/MOPB/MOPB-27-2007.html","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":18.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-03-20"},"first":{"date":"2007-03-20","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/3525"},"provenance":"source"},"summary":{"text":"The flaw is in PHP's resource handling system, affecting PHP 4.0.0 through 4.4.6 and 5.0.0 through 5.2.1, specifically within the GD (ext/gd) extension and certain unspecified other extensions. An attacker operating in a context-dependent position can interrupt these functions through a userspace error handler, which can be used to destroy and modify internal resources and execute arbitrary code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:02:04Z"},"euvd":{"id":"EUVD-2007-1576","exploited":false,"provenance":"source"},"exploits":[{"id":3525,"url":"https://www.exploit-db.com/exploits/3525","title":"PHP 4.4.6/5.2.1 - ext/gd Already Freed Resources Usage","date":"2007-03-20","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/3525"]}