{"cve":"CVE-2007-1581","nvd":{"published":"2007-03-21T23:19:00.000","modified":"2026-06-16T22:37:52.420","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-94"],"references":["http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html","http://secunia.com/advisories/24542","http://www.php-security.org/MOPB/MOPB-28-2007.html","http://www.securityfocus.com/bid/23062","https://exchange.xforce.ibmcloud.com/vulnerabilities/33248"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:44:49.019236172+00:00"},"epss":{"cve":"CVE-2007-1581","score":0.08029,"percentile":0.94777,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}