{"id":"CVE-2018-20783","state":"PUBLISHED","title":"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 unall","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.","publishedAt":"2019-02-21T19:00:00.000Z","updatedAt":"2024-08-05T12:12:28.191Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://php.net/ChangeLog-5.php","http://php.net/ChangeLog-7.php","https://bugs.php.net/bug.php?id=77143","http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html","http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html","https://usn.ubuntu.com/3566-2/","http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html","http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html","https://access.redhat.com/errata/RHSA-2019:2519","https://access.redhat.com/errata/RHSA-2019:3299"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:39.424Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/20xxx/CVE-2018-20783.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-20783","state":"PUBLISHED","datePublished":"2019-02-21T19:00:00.000Z","dateUpdated":"2024-08-05T12:12:28.191Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-02-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_MISC"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_MISC"]},{"url":"https://bugs.php.net/bug.php?id=77143","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html","name":"openSUSE-SU-2019:1256","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html","name":"openSUSE-SU-2019:1293","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/3566-2/","name":"USN-3566-2","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html","name":"openSUSE-SU-2019:1572","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html","name":"openSUSE-SU-2019:1573","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2519","name":"RHSA-2019:2519","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3299","name":"RHSA-2019:3299","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-11-01T15:06:35.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2019-02-21T00:00:00.000Z","x_legacyV4Record":{"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"},{"name":"openSUSE-SU-2019:1256","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html"},{"name":"openSUSE-SU-2019:1293","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html"},{"name":"USN-3566-2","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3566-2/"},{"name":"openSUSE-SU-2019:1572","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html"},{"name":"openSUSE-SU-2019:1573","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html"},{"name":"RHSA-2019:2519","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2519"},{"name":"RHSA-2019:3299","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3299"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=77143","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html","name":"openSUSE-SU-2019:1256","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html","name":"openSUSE-SU-2019:1293","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/3566-2/","name":"USN-3566-2","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html","name":"openSUSE-SU-2019:1572","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html","name":"openSUSE-SU-2019:1573","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2519","name":"RHSA-2019:2519","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3299","name":"RHSA-2019:3299","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T12:12:28.191Z"}}]}}}