CVE-2018-20783

Source
https://cve.org/CVERecord?id=CVE-2018-20783
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20783.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20783
Downstream
Related
Published
2019-02-21T19:29:00.287Z
Modified
2026-03-15T21:56:02.016177Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to pharparsepharfile 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.39"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.0.33"
        },
        {
            "introduced": "7.1.0"
        },
        {
            "fixed": "7.1.25"
        },
        {
            "introduced": "7.2.0"
        },
        {
            "fixed": "7.2.13"
        }
    ]
}

Database specific

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