{"id":"CVE-2007-1581","state":"PUBLISHED","title":"The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error ","description":"The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources.  NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected.","publishedAt":"2007-03-21T23:00:00.000Z","updatedAt":"2024-08-07T12:59:08.943Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.exploit-db.com/exploits/3529","http://secunia.com/advisories/24542","http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html","http://www.php-security.org/MOPB/MOPB-28-2007.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/33248","http://www.securityfocus.com/bid/23062"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:25.828Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2007/1xxx/CVE-2007-1581.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2007-1581","state":"PUBLISHED","datePublished":"2007-03-21T23:00:00.000Z","dateUpdated":"2024-08-07T12:59:08.943Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2007-03-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources.  NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.exploit-db.com/exploits/3529","name":"3529","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/24542","name":"24542","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html","tags":["x_refsource_MISC"]},{"url":"http://www.php-security.org/MOPB/MOPB-28-2007.html","tags":["x_refsource_MISC"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33248","name":"php-hashupdatefile-code-execution(33248)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/23062","name":"23062","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-10-10T00:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2007-03-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1581","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The resource system in PHP 5.0.0 through 5.2.1 allows context-dependent attackers to execute arbitrary code by interrupting the hash_update_file function via a userspace (1) error or (2) stream handler, which can then be used to destroy and modify internal resources.  NOTE: it was later reported that PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 are also affected."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"3529","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/3529"},{"name":"24542","refsource":"SECUNIA","url":"http://secunia.com/advisories/24542"},{"name":"http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html","refsource":"MISC","url":"http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html"},{"name":"http://www.php-security.org/MOPB/MOPB-28-2007.html","refsource":"MISC","url":"http://www.php-security.org/MOPB/MOPB-28-2007.html"},{"name":"php-hashupdatefile-code-execution(33248)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33248"},{"name":"23062","refsource":"BID","url":"http://www.securityfocus.com/bid/23062"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.exploit-db.com/exploits/3529","name":"3529","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://secunia.com/advisories/24542","name":"24542","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-28-2007.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33248","name":"php-hashupdatefile-code-execution(33248)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/23062","name":"23062","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T12:59:08.943Z"}}]}}}