{"cve":"CVE-2014-9427","nvd":{"published":"2015-01-03T02:59:00.050","modified":"2026-06-17T00:18:20.897","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-119"],"references":["http://advisories.mageia.org/MGASA-2015-0040.html","http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f9ad3086693fce680fbe246e4a45aa92edd2ac35","http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html","http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html"],"products":["php:php"],"source":"nvd","synced_at":"2026-10-19T20:34:45.729216538+00:00"},"epss":{"cve":"CVE-2014-9427","score":0.1828,"percentile":0.97219,"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."]}