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

EPSS: 0.057 (92.2th percentile) — read the EPSS interpretation.

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.

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.