CVE-2016-10159

Source
https://cve.org/CVERecord?id=CVE-2016-10159
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10159.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-10159
Downstream
CLSA (1)
DLA (1)
DSA (1)
MGASA (1)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-01-24T21:59:00Z
Modified
2026-08-07T14:48:15Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Integer overflow in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory consumption or application crash) via a truncated manifest entry in a PHAR archive.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe":  [
        "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:php:php:7.1.0:-:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "5.6.29"
        },
        {
            "introduced":  "7.0.0"
        },
        {
            "fixed":  "7.0.15"
        },
        {
            "introduced":  "7.1.0-NA"
        },
        {
            "last_affected":  "7.1.0-NA"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.1.0-NA
Other
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
php-5.*
php-5.6.29
php-5.6.29RC1
php-7.*
php-7.0.15RC1
php-7.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10159.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "121052452896400164276001498621023313905",
                "262168943274424758961694766712839997290",
                "35360108606078329448889142211054414706",
                "145313471589252137248472230406309010104",
                "314417463545681779499062229029939122698",
                "74004429412006798345526032305741375125",
                "36646184072252867127774558500130006594",
                "331527402370172640660609847974879528962"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-10159-c6d30f0a",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/php/php-src/commit/ca46d0acbce55019b970fcd4c1e8a10edfdded93",
        "target":  {
            "file":  "ext/phar/phar.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:48:15Z"