CVE-2016-3142

Source
https://cve.org/CVERecord?id=CVE-2016-3142
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3142.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-3142
Downstream
Related
Published
2016-03-31T16:59:01.210Z
Modified
2026-03-10T14:03:34.371898Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H CVSS Calculator
Summary
[none]
Details

The pharparsezipfile function in zip.c in the PHAR extension in PHP before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and application crash) by placing a PK\x05\x06 signature at an invalid location.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.5.32"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.11"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.12"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.13"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.14"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.15"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.16"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.17"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "5.6.18"
        }
    ]
}

Affected versions

Other
NEWS
NEWS-cvs2svn
php-5.*
php-5.3.23RC1
php-5.3.29
php-5.3.29RC1
php-5.4.30RC1
php-5.4.32RC1
php-5.4.4RC2
php-5.5.24RC1
php-5.5.32
php-5.6.0
php-5.6.0RC1
php-5.6.0RC2
php-5.6.0RC3
php-5.6.0RC4
php-5.6.0alpha1
php-5.6.0alpha2
php-5.6.0alpha3
php-5.6.0beta1
php-5.6.0beta2
php-5.6.0beta3
php-5.6.0beta4
php-5.6.1
php-5.6.10
php-5.6.10RC1
php-5.6.11
php-5.6.11RC1
php-5.6.12
php-5.6.12RC1
php-5.6.13
php-5.6.13RC1
php-5.6.14
php-5.6.14RC1
php-5.6.15
php-5.6.15RC1
php-5.6.16
php-5.6.16RC1
php-5.6.17
php-5.6.17RC1
php-5.6.18
php-5.6.18RC1
php-5.6.1RC1
php-5.6.3
php-5.6.3RC1
php-5.6.4
php-5.6.4RC1
php-5.6.5
php-5.6.5RC1
php-5.6.6
php-5.6.6RC1
php-5.6.7
php-5.6.7RC1
php-5.6.8
php-5.6.8RC1
php-5.6.9
php-5.6.9RC1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-3142.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.11.4"
            }
        ]
    }
]