CVE-2007-1581
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.
Key facts
- CVSS score
- 9.3 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-94
- EPSS score
- 8.0% (95th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2007-1575)
- Published
- March 21, 2007
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2007-1575 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
- php / php
References
- http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html(Exploit)
- http://secunia.com/advisories/24542(Vendor Advisory)
- http://www.php-security.org/MOPB/MOPB-28-2007.html(Exploit, Vendor Advisory)
- http://www.securityfocus.com/bid/23062(Exploit)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33248
- https://www.exploit-db.com/exploits/3529
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain