UBUNTU-CVE-2014-9427

    Dashboard / Vulnerabilities / UBUNTU-CVE-2014-9427

    UBUNTU-CVE-2014-9427

    Published: 2 Jan 2015Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: php5

    Purl: pkg:deb/ubuntu/[email protected]+dfsg-1ubuntu4.6?arch=source&distro=trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -5.5.9+dfsg-1ubuntu4.6

    Affected versions

    5.5.3+dfsg-1ubuntu2
    5.5.3+dfsg-1ubuntu3
    5.5.6+dfsg-1ubuntu1
    5.5.6+dfsg-1ubuntu2
    5.5.8+dfsg-2ubuntu1
    5.5.9+dfsg-1ubuntu1
    5.5.9+dfsg-1ubuntu2
    5.5.9+dfsg-1ubuntu3
    5.5.9+dfsg-1ubuntu4
    5.5.9+dfsg-1ubuntu4.1
    5.5.9+dfsg-1ubuntu4.2
    5.5.9+dfsg-1ubuntu4.3
    5.5.9+dfsg-1ubuntu4.4
    5.5.9+dfsg-1ubuntu4.5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High