{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2007-3997","published":"2007-09-04T18:17:00Z","last_modified":"2026-06-16T22:43:12.497000Z","status":"Modified","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-264"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"4.0.0","version_end_excluding":"4.4.8"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"5.0.0","version_end_excluding":"5.2.4"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.13818,"percentile":0.97186,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":61,"links":{"html_es":"/es/cve/CVE-2007-3997/","html_en":"/en/cve/CVE-2007-3997/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-3997","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-3997"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"The (1) MySQL and (2) MySQLi extensions in PHP 4 before 4.4.8, and PHP 5 before 5.2.4, allow remote attackers to bypass safe_mode and open_basedir restrictions via MySQL LOCAL INFILE operations, as demonstrated by a query with LOAD DATA LOCAL INFILE.","affected":[],"references":[{"url":"http://secunia.com/advisories/26642","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/26822","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/26838","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/27102","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/27377","tags":["Third Party Advisory"]},{"url":"http://secunia.com/advisories/28318","tags":["Third Party Advisory"]},{"url":"http://securityreason.com/securityalert/3102","tags":["Exploit","Third Party Advisory"]},{"url":"http://secweb.se/en/advisories/php-mysql-safe-mode-bypass-vulnerability/","tags":["Exploit","Third Party Advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml","tags":["Third Party Advisory"]},{"url":"http://www.php.net/ChangeLog-4.php","tags":["Vendor Advisory"]},{"url":"http://www.php.net/ChangeLog-5.php#5.2.4","tags":["Vendor Advisory"]},{"url":"http://www.php.net/releases/4_4_8.php","tags":["Vendor Advisory"]},{"url":"http://www.php.net/releases/5_2_4.php","tags":["Vendor Advisory"]},{"url":"http://www.trustix.org/errata/2007/0026/","tags":["Broken Link"]},{"url":"http://www.vupen.com/english/advisories/2007/3023","tags":["Permissions Required","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0059","tags":["Permissions Required","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/36384","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/39402","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://issues.rpath.com/browse/RPL-1693","tags":["Broken Link"]},{"url":"https://issues.rpath.com/browse/RPL-1702","tags":["Broken Link"]},{"url":"https://www.exploit-db.com/exploits/4392","tags":["Third Party Advisory","VDB Entry"]}]}}