Unscored severity · published Jan 3, 2015
CVE-2014-9427
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…
–
CVSS
18.3%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)18.3% · higher than 97% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
1.0; 2.0; 2.0b10; 3.0; 3.0.1; 3.0.2; +34 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-9427
CVE.org
https://www.cve.org/CVERecord?id=CVE-2014-9427
advisories.mageia.org
http://advisories.mageia.org/MGASA-2015-0040.html
git.php.net
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f9ad3086693fce680fbe246e4a45aa92edd2ac35
lists.apple.com
http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html
lists.opensuse.org
http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html
marc.info
http://marc.info/?l=bugtraq&m=143748090628601&w=2
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
