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_upda…

CVE-2007-1581 affects 20 listed versions of PHP in the Dawnsentry catalogue.

9.3CVSS critical
None knownexploitation
8%EPSS (next 30 days)
21 March 2007published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

20 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.

5.2.13 5.2.12 5.2.11 5.2.10 5.2.9 5.2.8 5.2.7 5.2.6 5.2.5 5.2.4 5.2.3 5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.5 5.0.4

What it is

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.

AV:N/AC:M/Au:N/C:C/I:C/A:C (NVD)

Published by MITRE on 21 March 2007. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2007-1581 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.