{"api_version":"1","generated_at":"2026-04-23T02:35:49+00:00","cve":"CVE-2018-20783","urls":{"html":"https://cve.report/CVE-2018-20783","api":"https://cve.report/api/cve/CVE-2018-20783.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-20783","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-20783"},"summary":{"title":"CVE-2018-20783","description":"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 phar_parse_pharfile in ext/phar/phar.c.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-02-21 19:29:00","updated_at":"2019-05-22 15:29:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html","name":"openSUSE-SU-2019:1256","refsource":"SUSE","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] openSUSE-SU-2019:1256-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:3299","name":"RHSA-2019:3299","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://php.net/ChangeLog-5.php","name":"http://php.net/ChangeLog-5.php","refsource":"MISC","tags":["Vendor Advisory"],"title":"PHP: PHP 5 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html","name":"openSUSE-SU-2019:1572","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1572-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://php.net/ChangeLog-7.php","name":"http://php.net/ChangeLog-7.php","refsource":"MISC","tags":["Vendor Advisory"],"title":"PHP: PHP 7 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/3566-2/","name":"USN-3566-2","refsource":"UBUNTU","tags":[],"title":"USN-3566-2: PHP vulnerabilities | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html","name":"openSUSE-SU-2019:1293","refsource":"SUSE","tags":["Mailing List","Third Party Advisory"],"title":"[security-announce] openSUSE-SU-2019:1293-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html","name":"openSUSE-SU-2019:1573","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:1573-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.php.net/bug.php?id=77143","name":"https://bugs.php.net/bug.php?id=77143","refsource":"MISC","tags":["Exploit","Issue Tracking","Vendor Advisory"],"title":"PHP :: Sec Bug #77143 :: Heap Buffer Overflow (READ: 4) in phar_parse_pharfile","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2019:2519","name":"RHSA-2019:2519","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20783","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20783","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"20783","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"42.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20783","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"opensuse","cpe5":"leap","cpe6":"42.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20783","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"20783","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-20783","qid":"159670","title":"Oracle Enterprise Linux Security Update for php:7.2 (ELSA-2020-1624)"},{"cve":"CVE-2018-20783","qid":"501125","title":"Alpine Linux Security Update for php7"},{"cve":"CVE-2018-20783","qid":"752878","title":"SUSE Enterprise Linux Security Update for php7 (SUSE-SU-2022:4067-1)"},{"cve":"CVE-2018-20783","qid":"940404","title":"AlmaLinux Security Update for php:7.2 (ALSA-2020:1624)"},{"cve":"CVE-2018-20783","qid":"960218","title":"Rocky Linux Security Update for php:7.2 (RLSA-2020:1624)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-20783","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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 phar_parse_pharfile in ext/phar/phar.c."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://php.net/ChangeLog-5.php","refsource":"MISC","url":"http://php.net/ChangeLog-5.php"},{"name":"http://php.net/ChangeLog-7.php","refsource":"MISC","url":"http://php.net/ChangeLog-7.php"},{"name":"https://bugs.php.net/bug.php?id=77143","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=77143"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1256","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1293","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html"},{"refsource":"UBUNTU","name":"USN-3566-2","url":"https://usn.ubuntu.com/3566-2/"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1572","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:1573","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html"},{"refsource":"REDHAT","name":"RHSA-2019:2519","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"refsource":"REDHAT","name":"RHSA-2019:3299","url":"https://access.redhat.com/errata/RHSA-2019:3299"}]}},"nvd":{"publishedDate":"2019-02-21 19:29:00","lastModifiedDate":"2019-05-22 15:29:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndExcluding":"5.6.39","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.0","versionEndExcluding":"7.0.33","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.0","versionEndExcluding":"7.1.25","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2.0","versionEndExcluding":"7.2.13","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:opensuse:leap:42.3:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"20783","Ordinal":"146831","Title":"CVE-2018-20783","CVE":"CVE-2018-20783","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"20783","Ordinal":"1","NoteData":"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 phar_parse_pharfile in ext/phar/phar.c.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"20783","Ordinal":"2","NoteData":"2019-02-21","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"20783","Ordinal":"3","NoteData":"2019-11-01","Type":"Other","Title":"Modified"}]}}}