CVE-2014-9427
Summary
| CVE | CVE-2014-9427 |
|---|---|
| State | PUBLISHED |
| Assigner | debian |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2015-01-03 02:59:00 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Php | Php | 1.0 | All | All | All |
| Application | Php | Php | 2.0 | All | All | All |
| Application | Php | Php | 2.0b10 | All | All | All |
| Application | Php | Php | 3.0 | All | All | All |
| Application | Php | Php | 3.0.1 | All | All | All |
| Application | Php | Php | 3.0.10 | All | All | All |
| Application | Php | Php | 3.0.11 | All | All | All |
| Application | Php | Php | 3.0.12 | All | All | All |
| Application | Php | Php | 3.0.13 | All | All | All |
| Application | Php | Php | 3.0.14 | All | All | All |
| Application | Php | Php | 3.0.15 | All | All | All |
| Application | Php | Php | 3.0.16 | All | All | All |
| Application | Php | Php | 3.0.17 | All | All | All |
| Application | Php | Php | 3.0.18 | All | All | All |
| Application | Php | Php | 3.0.2 | All | All | All |
| Application | Php | Php | 3.0.3 | All | All | All |
| Application | Php | Php | 3.0.4 | All | All | All |
| Application | Php | Php | 3.0.5 | All | All | All |
| Application | Php | Php | 3.0.6 | All | All | All |
| Application | Php | Php | 3.0.7 | All | All | All |
| Application | Php | Php | 3.0.8 | All | All | All |
| Application | Php | Php | 3.0.9 | All | All | All |
| Application | Php | Php | 4.0 | beta1 | All | All |
| Application | Php | Php | 4.0 | beta2 | All | All |
| Application | Php | Php | 4.0 | beta3 | All | All |
| Application | Php | Php | 4.0 | beta4 | All | All |
| Application | Php | Php | 4.0 | beta_4_patch1 | All | All |
| Application | Php | Php | 4.0.0 | All | All | All |
| Application | Php | Php | 4.0.1 | All | All | All |
| Application | Php | Php | 4.0.2 | All | All | All |
| Application | Php | Php | 4.0.3 | All | All | All |
| Application | Php | Php | 4.0.4 | All | All | All |
| Application | Php | Php | 4.0.5 | All | All | All |
| Application | Php | Php | 4.0.6 | All | All | All |
| Application | Php | Php | 4.0.7 | All | All | All |
| Application | Php | Php | 4.1.0 | All | All | All |
| Application | Php | Php | 4.1.1 | All | All | All |
| Application | Php | Php | 4.1.2 | All | All | All |
| Application | Php | Php | 4.2.0 | All | All | All |
| Application | Php | Php | 4.2.1 | All | All | All |
| Application | Php | Php | 4.2.2 | All | All | All |
| Application | Php | Php | 4.2.3 | All | All | All |
| Application | Php | Php | 4.3.0 | All | All | All |
| Application | Php | Php | 4.3.1 | All | All | All |
| Application | Php | Php | 4.3.10 | All | All | All |
| Application | Php | Php | 4.3.11 | All | All | All |
| Application | Php | Php | 4.3.2 | All | All | All |
| Application | Php | Php | 4.3.3 | All | All | All |
| Application | Php | Php | 4.3.4 | All | All | All |
| Application | Php | Php | 4.3.5 | All | All | All |
| Application | Php | Php | 4.3.6 | All | All | All |
| Application | Php | Php | 4.3.7 | All | All | All |
| Application | Php | Php | 4.3.8 | All | All | All |
| Application | Php | Php | 4.3.9 | All | All | All |
| Application | Php | Php | 4.4.0 | All | All | All |
| Application | Php | Php | 4.4.1 | All | All | All |
| Application | Php | Php | 4.4.2 | All | All | All |
| Application | Php | Php | 4.4.3 | All | All | All |
| Application | Php | Php | 4.4.4 | All | All | All |
| Application | Php | Php | 4.4.5 | All | All | All |
| Application | Php | Php | 4.4.6 | All | All | All |
| Application | Php | Php | 4.4.7 | All | All | All |
| Application | Php | Php | 4.4.8 | All | All | All |
| Application | Php | Php | 4.4.9 | All | All | All |
| Application | Php | Php | 5.0.0 | All | All | All |
| Application | Php | Php | 5.0.0 | beta1 | All | All |
| Application | Php | Php | 5.0.0 | beta2 | All | All |
| Application | Php | Php | 5.0.0 | beta3 | All | All |
| Application | Php | Php | 5.0.0 | beta4 | All | All |
| Application | Php | Php | 5.0.0 | rc1 | All | All |
| Application | Php | Php | 5.0.0 | rc2 | All | All |
| Application | Php | Php | 5.0.0 | rc3 | All | All |
| Application | Php | Php | 5.0.1 | All | All | All |
| Application | Php | Php | 5.0.2 | All | All | All |
| Application | Php | Php | 5.0.3 | All | All | All |
| Application | Php | Php | 5.0.4 | All | All | All |
| Application | Php | Php | 5.0.5 | All | All | All |
| Application | Php | Php | 5.1.0 | All | All | All |
| Application | Php | Php | 5.1.1 | All | All | All |
| Application | Php | Php | 5.1.2 | All | All | All |
| Application | Php | Php | 5.1.3 | All | All | All |
| Application | Php | Php | 5.1.4 | All | All | All |
| Application | Php | Php | 5.1.5 | All | All | All |
| Application | Php | Php | 5.1.6 | All | All | All |
| Application | Php | Php | 5.2.0 | All | All | All |
| Application | Php | Php | 5.2.1 | All | All | All |
| Application | Php | Php | 5.2.10 | All | All | All |
| Application | Php | Php | 5.2.11 | All | All | All |
| Application | Php | Php | 5.2.12 | All | All | All |
| Application | Php | Php | 5.2.13 | All | All | All |
| Application | Php | Php | 5.2.14 | All | All | All |
| Application | Php | Php | 5.2.15 | All | All | All |
| Application | Php | Php | 5.2.16 | All | All | All |
| Application | Php | Php | 5.2.17 | All | All | All |
| Application | Php | Php | 5.2.2 | All | All | All |
| Application | Php | Php | 5.2.3 | All | All | All |
| Application | Php | Php | 5.2.4 | All | All | All |
| Application | Php | Php | 5.2.5 | All | All | All |
| Application | Php | Php | 5.2.6 | All | All | All |
| Application | Php | Php | 5.2.7 | All | All | All |
| Application | Php | Php | 5.2.8 | All | All | All |
| Application | Php | Php | 5.2.9 | All | All | All |
| Application | Php | Php | 5.3.0 | All | All | All |
| Application | Php | Php | 5.3.1 | All | All | All |
| Application | Php | Php | 5.3.10 | All | All | All |
| Application | Php | Php | 5.3.11 | All | All | All |
| Application | Php | Php | 5.3.12 | All | All | All |
| Application | Php | Php | 5.3.13 | All | All | All |
| Application | Php | Php | 5.3.14 | All | All | All |
| Application | Php | Php | 5.3.15 | All | All | All |
| Application | Php | Php | 5.3.16 | All | All | All |
| Application | Php | Php | 5.3.17 | All | All | All |
| Application | Php | Php | 5.3.18 | All | All | All |
| Application | Php | Php | 5.3.19 | All | All | All |
| Application | Php | Php | 5.3.2 | All | All | All |
| Application | Php | Php | 5.3.20 | All | All | All |
| Application | Php | Php | 5.3.21 | All | All | All |
| Application | Php | Php | 5.3.22 | All | All | All |
| Application | Php | Php | 5.3.23 | All | All | All |
| Application | Php | Php | 5.3.24 | All | All | All |
| Application | Php | Php | 5.3.25 | All | All | All |
| Application | Php | Php | 5.3.26 | All | All | All |
| Application | Php | Php | 5.3.27 | All | All | All |
| Application | Php | Php | 5.3.28 | All | All | All |
| Application | Php | Php | 5.3.3 | All | All | All |
| Application | Php | Php | 5.3.4 | All | All | All |
| Application | Php | Php | 5.3.5 | All | All | All |
| Application | Php | Php | 5.3.6 | All | All | All |
| Application | Php | Php | 5.3.7 | All | All | All |
| Application | Php | Php | 5.3.8 | All | All | All |
| Application | Php | Php | 5.3.9 | All | All | All |
| Application | Php | Php | 5.4.0 | All | All | All |
| Application | Php | Php | 5.4.1 | All | All | All |
| Application | Php | Php | 5.4.10 | All | All | All |
| Application | Php | Php | 5.4.11 | All | All | All |
| Application | Php | Php | 5.4.12 | All | All | All |
| Application | Php | Php | 5.4.12 | rc1 | All | All |
| Application | Php | Php | 5.4.12 | rc2 | All | All |
| Application | Php | Php | 5.4.13 | All | All | All |
| Application | Php | Php | 5.4.13 | rc1 | All | All |
| Application | Php | Php | 5.4.14 | All | All | All |
| Application | Php | Php | 5.4.14 | rc1 | All | All |
| Application | Php | Php | 5.4.15 | rc1 | All | All |
| Application | Php | Php | 5.4.16 | rc1 | All | All |
| Application | Php | Php | 5.4.17 | All | All | All |
| Application | Php | Php | 5.4.18 | All | All | All |
| Application | Php | Php | 5.4.19 | All | All | All |
| Application | Php | Php | 5.4.2 | All | All | All |
| Application | Php | Php | 5.4.20 | All | All | All |
| Application | Php | Php | 5.4.21 | All | All | All |
| Application | Php | Php | 5.4.22 | All | All | All |
| Application | Php | Php | 5.4.23 | All | All | All |
| Application | Php | Php | 5.4.24 | All | All | All |
| Application | Php | Php | 5.4.25 | All | All | All |
| Application | Php | Php | 5.4.26 | All | All | All |
| Application | Php | Php | 5.4.27 | All | All | All |
| Application | Php | Php | 5.4.28 | All | All | All |
| Application | Php | Php | 5.4.29 | All | All | All |
| Application | Php | Php | 5.4.3 | All | All | All |
| Application | Php | Php | 5.4.30 | All | All | All |
| Application | Php | Php | 5.4.34 | All | All | All |
| Application | Php | Php | 5.4.35 | All | All | All |
| Application | Php | Php | 5.4.36 | All | All | All |
| Application | Php | Php | 5.5.0 | All | All | All |
| Application | Php | Php | 5.5.0 | alpha1 | All | All |
| Application | Php | Php | 5.5.0 | alpha2 | All | All |
| Application | Php | Php | 5.5.0 | alpha3 | All | All |
| Application | Php | Php | 5.5.0 | alpha4 | All | All |
| Application | Php | Php | 5.5.0 | alpha5 | All | All |
| Application | Php | Php | 5.5.0 | alpha6 | All | All |
| Application | Php | Php | 5.5.0 | beta1 | All | All |
| Application | Php | Php | 5.5.0 | beta2 | All | All |
| Application | Php | Php | 5.5.0 | beta3 | All | All |
| Application | Php | Php | 5.5.0 | beta4 | All | All |
| Application | Php | Php | 5.5.0 | rc1 | All | All |
| Application | Php | Php | 5.5.0 | rc2 | All | All |
| Application | Php | Php | 5.5.1 | All | All | All |
| Application | Php | Php | 5.5.10 | All | All | All |
| Application | Php | Php | 5.5.11 | All | All | All |
| Application | Php | Php | 5.5.12 | All | All | All |
| Application | Php | Php | 5.5.13 | All | All | All |
| Application | Php | Php | 5.5.14 | All | All | All |
| Application | Php | Php | 5.5.18 | All | All | All |
| Application | Php | Php | 5.5.19 | All | All | All |
| Application | Php | Php | 5.5.2 | All | All | All |
| Application | Php | Php | 5.5.20 | All | All | All |
| Application | Php | Php | 5.5.3 | All | All | All |
| Application | Php | Php | 5.5.4 | All | All | All |
| Application | Php | Php | 5.5.5 | All | All | All |
| Application | Php | Php | 5.5.6 | All | All | All |
| Application | Php | Php | 5.5.7 | All | All | All |
| Application | Php | Php | 5.5.8 | All | All | All |
| Application | Php | Php | 5.5.9 | All | All | All |
| Application | Php | Php | 5.6.0 | alpha1 | All | All |
| Application | Php | Php | 5.6.0 | alpha2 | All | All |
| Application | Php | Php | 5.6.0 | alpha3 | All | All |
| Application | Php | Php | 5.6.0 | alpha4 | All | All |
| Application | Php | Php | 5.6.0 | alpha5 | All | All |
| Application | Php | Php | 5.6.0 | beta1 | All | All |
| Application | Php | Php | 5.6.0 | beta2 | All | All |
| Application | Php | Php | 5.6.0 | beta3 | All | All |
| Application | Php | Php | 5.6.0 | beta4 | All | All |
| Application | Php | Php | 5.6.2 | All | All | All |
| Application | Php | Php | 5.6.3 | All | All | All |
| Application | Php | Php | 5.6.4 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [security-announce] SUSE-SU-2015:0365-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| oss-security - Re: CVE Request: PHP: out of bounds read crashes php-cgi | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| PHP 'cgi_main.c' Out of Bounds Read Denial of Service Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| APPLE-SA-2015-09-30-3 OS X El Capitan 10.11 | af854a3a-2127-422b-91ae-364da2661108 | lists.apple.com | |
| openSUSE-SU-2015:0325-1: moderate: Security update for php5 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Mageia Advisory: MGASA-2015-0040 - Updated php packages fix security vulnerabilities | af854a3a-2127-422b-91ae-364da2661108 | advisories.mageia.org | |
| '[security bulletin] HPSBMU03380 rev.1 - HP System Management Homepage (SMH) on Linux and Windows, Mu' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| oss-security - Re: CVE Request: PHP: out of bounds read crashes php-cgi | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| oss-security - Re: CVE Request: PHP: out of bounds read crashes php-cgi | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | |
| Oracle Linux Bulletin - January 2016 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | |
| '[security bulletin] HPSBMU03409 rev.1 - HP Matrix Operating Environment, Multiple Vulnerabilities' - MARC | af854a3a-2127-422b-91ae-364da2661108 | marc.info | |
| 72.52.91.13 Git - php-src.git/commit | af854a3a-2127-422b-91ae-364da2661108 | git.php.net | |
| PHP :: Sec Bug #68618 :: out of bounds read crashes php-cgi | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Exploit |
| PHP: Multiple vulnerabilities (GLSA 201503-03) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| About the security content of OS X El Capitan v10.11 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | |
| Support / Security / Advisories / / MDVSA-2015:032 | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| 72.52.91.13 Git - php-src.git/commit | MITRE | git.php.net | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.