CVE-2007-1581

critical

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.

References

https://www.exploit-db.com/exploits/3529

https://exchange.xforce.ibmcloud.com/vulnerabilities/33248

https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-1575

http://www.securityfocus.com/bid/23062

http://www.php-security.org/MOPB/MOPB-28-2007.html

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

Details

Source: Mitre, NVD

Published: 2007-03-21

Updated: 2026-06-16

Risk Information

CVSS v2

Base Score: 9.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.07775