← Vulnerability feed

Vulnerability record · CVE-2004-1064 · published 10 January 2005

CVE-2004-1064: Php vulnerability

Php · Php

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.

10.0 CVSS 2.0 High EPSS 3.7% · top 9.9%
10.0CVSS 2.0 base score
3.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
24References
16 Jun 2026Last modified by NVD

Description

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.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915 Broken Link
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml Third Party Advisory
http://www.hardened-php.net/advisories/012004.txt Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 Third Party Advisory
http://www.php.net/release_4_3_10.php Release NotesVendor Advisory
http://www.securityfocus.com/advisories/9028 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/384545 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/11964 Third Party AdvisoryVDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/18512 Third Party AdvisoryVDB Entry
https://www.ubuntu.com/usn/usn-99-1/ Third Party Advisory
https://www.ubuntu.com/usn/usn-99-2/ Third Party Advisory
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915 Broken Link
http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml Third Party Advisory
http://www.hardened-php.net/advisories/012004.txt Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:151 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2005:072 Third Party Advisory
http://www.php.net/release_4_3_10.php Release NotesVendor Advisory
http://www.securityfocus.com/advisories/9028 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/archive/1/384545 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/11964 Third Party AdvisoryVDB Entry
https://exchange.xforce.ibmcloud.com/vulnerabilities/18512 Third Party AdvisoryVDB Entry
https://www.ubuntu.com/usn/usn-99-1/ Third Party Advisory
https://www.ubuntu.com/usn/usn-99-2/ Third Party Advisory

Track CVE-2004-1064 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2007-0061Vmware ace memory buffer overflow vulnerabilityThe DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 56455 and Player 2 bef…EPSS 6.5%10.0CVE-2007-0063Vmware ace vulnerabilityInteger underflow in the DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 5…EPSS 20%10.0CVE-2007-0956Mit kerberos 5 missing authentication for critical function vulnerabilityThe telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass authentication and gain system access via a username beginning…EPSS 30%10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-1018Php vulnerabilityMultiple integer handling errors in PHP before 4.3.10 allow attackers to bypass safe mode restrictions, cause a denial of service, or execute arbitra…EPSS 16%10.0CVE-2004-1019Openpkg improper input validation vulnerabilityThe deserialization code in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to cause a denial of service and execute arbitrary code…EPSS 8.0%10.0CVE-2004-1063Php vulnerabilityPHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir …EPSS 4.2%10.0CVE-2004-1065Openpkg vulnerabilityBuffer overflow in the exif_read_data function in PHP before 4.3.10 and PHP 5.x up to 5.0.2 allows remote attackers to execute arbitrary code via a l…EPSS 10%

Source: NIST National Vulnerability Database (record CVE-2004-1064), CISA KEV, FIRST EPSS (scores of 2026-11-23). This page is refreshed as NVD updates the record.