CVE-2004-1064Php
Critical 10.0 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≥ 4.0.0 ≤ 4.3.9 |
| php | php | ≥ 5.0.0 ≤ 5.0.2 |
| canonical | ubuntu_linux | 4.10 |
Official sources
References
Links published by the sources. Open them with care.
- distro.conectiva.com.br Broken Link
- www.gentoo.org Third Party Advisory
- www.hardened-php.net Third Party Advisory
- www.mandriva.com Third Party Advisory
- www.mandriva.com Third Party Advisory
- www.php.net Release Notes Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory