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 trend (30 days)EPSS over the last 30 days for CVE-2018-20783: held from 0.057 to 0.057.

EPSS over last 30 days · oldest: 0.057 · newest: 0.057 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.