{"cve":"CVE-2004-1020","nvd":{"published":"2005-01-10T05:00:00.000","modified":"2026-06-16T22:06:52.150","status":"Modified","description":"The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism.  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.mandriva.com/security/advisories?name=MDKSA-2004:151","http://www.php.net/release_4_3_10.php","http://www.securityfocus.com/advisories/9028"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T19:38:22.000386253+00:00"},"epss":{"cve":"CVE-2004-1020","score":0.07068,"percentile":0.94211,"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."]}