Out-of-bounds Read in PHP
CVE-2018-20783
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.057 (92.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 92.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.057 · newest: 0.057 · change: 0.000
Affected products
- PHP
- openSUSE Leap — versions 42.3
Weakness classification (CWE)
Public proof-of-concept exploits
References
- php.net/ChangeLog-5.php (Vendor Advisory)
- php.net/ChangeLog-7.php (Vendor Advisory)
- bugs.php.net/bug.php (Exploit, Issue Tracking, Vendor Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html (vendor-advisory, Mailing List, Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html (vendor-advisory, Mailing List, Third Party Advisory)
- usn.ubuntu.com/3566-2/ (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html (vendor-advisory)
- access.redhat.com/errata/RHSA-2019:2519 (vendor-advisory)
- access.redhat.com/errata/RHSA-2019:3299 (vendor-advisory)
Frequently asked questions
- What is CVE-2018-20783?
- CVE-2018-20783 is a high-severity vulnerability in PHP, classified under Out-of-bounds Read. CVSS score: 7.5/10. Published 2019-02-21.
- How severe is CVE-2018-20783?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-20783 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.