Live threats

All CVEs / Php

CVE-2004-1064Php

Critical 10.0 No auth needed

Priority
75
CVSS 2.0
10.0
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Jan 10, 2005
Updated
Jun 16, 2026
Category
Web application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C

What happens

The safe mode checks in PHP 4.x to 4.3.9 and PHP 5.x to 5.0.2 truncate the file path before passing the data to the realpath function, which could allow attackers to bypass safe mode. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

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
phpphp≥ 4.0.0 ≤ 4.3.9
phpphp≥ 5.0.0 ≤ 5.0.2
canonicalubuntu_linux4.10

Official sources

References

Links published by the sources. Open them with care.