CVE-2017-11147

Source
https://cve.org/CVERecord?id=CVE-2017-11147
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11147.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-11147
Downstream
Related
Published
2017-07-10T14:29:00.697Z
Modified
2026-03-10T14:18:03.686115Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

In PHP before 5.6.30 and 7.x before 7.0.15, the PHAR archive handler could be used by attackers supplying malicious archive files to crash the PHP interpreter or potentially disclose information due to a buffer over-read in the pharparsepharfile function in ext/phar/phar.c.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.6.30"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.15"
        },
        {
            "introduced": "7.1.0"
        },
        {
            "fixed": "7.1.1"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-11147.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "291942526429879441159894536430346133521",
            "length": 2665.0
        },
        "source": "https://github.com/php/php-src/commit/9abbc3cc6d0f448435ca38bef694f671bf7303d8",
        "signature_type": "Function",
        "id": "CVE-2017-11147-12d1fca6",
        "target": {
            "file": "ext/gd/libgd/gd_gd2.c",
            "function": "_gd2GetHeader"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "268808390959611610380382661363715926383",
                "332457077737297600470842301867489262455",
                "183820387990733455444215637150999073887",
                "296117839669516092864788658433251533836"
            ]
        },
        "source": "https://github.com/php/php-src/commit/9abbc3cc6d0f448435ca38bef694f671bf7303d8",
        "signature_type": "Line",
        "id": "CVE-2017-11147-a887e78f",
        "target": {
            "file": "ext/gd/libgd/gd_gd2.c"
        }
    }
]