Live threats

All CVEs / Php

CVE-2007-1581Php

Critical 9.3 No auth needed

Priority
72
CVSS 2.0
9.3
EPSS
8.0%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Mar 21, 2007
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-94
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp5.0
phpphp5.0
phpphp5.0
phpphp5.0.0
phpphp5.0.1
phpphp5.0.2
phpphp5.0.3
phpphp5.0.4
phpphp5.0.5
phpphp5.1.0
phpphp5.1.1
phpphp5.1.2
phpphp5.1.3
phpphp5.1.4
phpphp5.1.5
phpphp5.1.6
phpphp5.2.0
phpphp5.2.1
phpphp5.2.2
phpphp5.2.3
phpphp5.2.4
phpphp5.2.5
phpphp5.2.6
phpphp5.2.7
phpphp5.2.8
phpphp5.2.9
phpphp5.2.10
phpphp5.2.11
phpphp5.2.12
phpphp5.2.13
phpphp5.3.0
phpphp5.3.1
phpphp5.3.2

Official sources

References

Links published by the sources. Open them with care.