{"id":"CVE-2014-9427","url":"https://www.cyber-defence.io/tools/cve/CVE-2014-9427","generatedAt":"2026-11-05T06:39:03.128Z","title":"sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a…","description":"sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, does not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which causes an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping.","published":"2015-01-03T02:59:00.000Z","lastModified":"2026-06-17T00:18:21.000Z","status":"Modified","sourceIdentifier":"security@debian.org","cvss":{"version":"2.0","score":7.5,"severity":"HIGH","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P"},"cwe":["CWE-119"],"affected":["php/php"],"epss":{"score":0.1828,"percentile":0.97228,"date":"2026-11-04","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 18.3%, higher than 97% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://advisories.mageia.org/MGASA-2015-0040.html","source":"security@debian.org"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f9ad3086693fce680fbe246e4a45aa92edd2ac35","source":"security@debian.org"},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","source":"security@debian.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html","source":"security@debian.org"},{"url":"http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html","source":"security@debian.org"},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","source":"security@debian.org"},{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","source":"security@debian.org"},{"url":"http://openwall.com/lists/oss-security/2014/12/31/6","source":"security@debian.org"},{"url":"http://openwall.com/lists/oss-security/2015/01/01/1","source":"security@debian.org"},{"url":"http://openwall.com/lists/oss-security/2015/01/03/4","source":"security@debian.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","source":"security@debian.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","source":"security@debian.org"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:032","source":"security@debian.org"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","source":"security@debian.org"},{"url":"http://www.securityfocus.com/bid/71833","source":"security@debian.org"},{"url":"https://bugs.php.net/bug.php?id=68618","tags":["Exploit"],"source":"security@debian.org"},{"url":"https://security.gentoo.org/glsa/201503-03","source":"security@debian.org"},{"url":"https://support.apple.com/HT205267","source":"security@debian.org"},{"url":"http://advisories.mageia.org/MGASA-2015-0040.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f9ad3086693fce680fbe246e4a45aa92edd2ac35","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2014/12/31/6","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2015/01/01/1","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2015/01/03/4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:032","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/71833","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=68618","tags":["Exploit"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201503-03","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.apple.com/HT205267","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-9427","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}