CVE-2014-9427
publishedphp: out of bounds read when parsing a crafted .php file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | debian |
| Debian | wheezy | php5 | Advisory build | 5.4.36-0+deb7u1 | DSA-3117-1 |
| Oracle Linux | 6 | php54x86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-phpx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-bcmathx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-clix86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-commonx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-dbax86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | php54-php-develx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-enchantx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-fpmx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-gdx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-imapx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-intlx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-ldapx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-mbstringx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-mysqlndx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-odbcx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-pdox86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-pecl-zendopcachex86_64 | Advisory build | 0:7.0.4-3.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-pgsqlx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-processx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-pspellx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-recodex86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-snmpx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-soapx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-tidyx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-xmlx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-php-xmlrpcx86_64 | Advisory build | 0:5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-runtimex86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php54-scldevelx86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1066 |
| Oracle Linux | 6 | php55x86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-phpx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-bcmathx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-clix86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-commonx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-dbax86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-develx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-enchantx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-fpmx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-gdx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-gmpx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-imapx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-intlx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-ldapx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-mbstringx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-mysqlndx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-odbcx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-opcachex86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-pdox86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-pgsqlx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-processx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-pspellx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-recodex86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-snmpx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-soapx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-tidyx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-xmlx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-php-xmlrpcx86_64 | Advisory build | 0:5.5.21-2.0.1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-runtimex86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1053 |
| Oracle Linux | 6 | php55-scldevelx86_64 | Advisory build | 0:2.0-1.el6 | ELSA-2015-1053 |
| Oracle Linux | 7 | php54x86_64 | Advisory build | 0:2.0-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-phpx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-bcmathx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-clix86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-commonx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-dbax86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-develx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-enchantx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-fpmx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-gdx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-intlx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-ldapx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-mbstringx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-mysqlndx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-odbcx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-pdox86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-pecl-zendopcachex86_64 | Advisory build | 0:7.0.4-3.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-pgsqlx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-processx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-pspellx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-recodex86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-snmpx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-soapx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-xmlx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-php-xmlrpcx86_64 | Advisory build | 0:5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-runtimex86_64 | Advisory build | 0:2.0-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php54-scldevelx86_64 | Advisory build | 0:2.0-1.el7 | ELSA-2015-1066 |
| Oracle Linux | 7 | php55x86_64 | Advisory build | 0:2.0-1.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-phpx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-bcmathx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-clix86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-commonx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-dbax86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-develx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-enchantx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-fpmx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-gdx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-gmpx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-intlx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
| Oracle Linux | 7 | php55-php-ldapx86_64 | Advisory build | 0:5.5.21-2.el7 | ELSA-2015-1053 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | debian · cna |
Weaknesses
1- n/a
References
18- http://advisories.mageia.org/MGASA-2015-0040.html
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=f9ad3086693fce680fbe246e4a45aa92edd2ac35
- APPLE-SA-2015-09-30-3 http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- SUSE-SU-2015:0365 http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html
- openSUSE-SU-2015:0325 http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html
- HPSBMU03380 http://marc.info/?l=bugtraq&m=143748090628601&w=2
- HPSBMU03409 http://marc.info/?l=bugtraq&m=144050155601375&w=2
- [oss-security] 20141231 Re: CVE Request: PHP: out of bounds read crashes php-cgi http://openwall.com/lists/oss-security/2014/12/31/6
- [oss-security] 20141231 Re: CVE Request: PHP: out of bounds read crashes php-cgi http://openwall.com/lists/oss-security/2015/01/01/1
- [oss-security] 20150103 Re: CVE Request: PHP: out of bounds read crashes php-cgi http://openwall.com/lists/oss-security/2015/01/03/4
- RHSA-2015:1053 http://rhn.redhat.com/errata/RHSA-2015-1053.html
- RHSA-2015:1066 http://rhn.redhat.com/errata/RHSA-2015-1066.html
- MDVSA-2015:032 http://www.mandriva.com/security/advisories?name=MDVSA-2015:032
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- 71833 http://www.securityfocus.com/bid/71833
- https://bugs.php.net/bug.php?id=68618
- GLSA-201503-03 https://security.gentoo.org/glsa/201503-03
- https://support.apple.com/HT205267
Provider assertions
2debian · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ba6c471025ac57a378d51c69bc22f3f40f7e7a20af94232e8823cfc4bdfc3475
- Ingested
- 23 Sep 2026, 07:40:21 UTC
- Source record
- Official CVE record