{"cve":"CVE-2004-1064","nvd":{"published":"2005-01-10T05:00:00.000","modified":"2026-06-16T22:06:56.560","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915","http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml","http://www.hardened-php.net/advisories/012004.txt","http://www.mandriva.com/security/advisories?name=MDKSA-2004:151","http://www.mandriva.com/security/advisories?name=MDKSA-2005:072"],"products":["canonical:ubuntu_linux","php:php"],"source":"nvd","synced_at":"2026-10-19T19:38:22.000386253+00:00"},"epss":{"cve":"CVE-2004-1064","score":0.03735,"percentile":0.89835,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}