Back
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…
High9.3EPSS 8.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 8.0% · top 5.2% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Weakness
Affected products
n/a
- affected n/a
References (6)
- 3529 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 24542 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://php-security.org/2010/05/01/mops-2010-001-php-hash_update_file-already-freed-resource-access-vulnerability/index.html (opens in a new tab)x_refsource_MISCx_transferred
- http://www.php-security.org/MOPB/MOPB-28-2007.html (opens in a new tab)x_refsource_MISCx_transferred
- php-hashupdatefile-code-execution(33248) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 23062 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2007-1581)Record last updated .