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, 93.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- openSUSE Leap — versions 42.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, CyCognito/manual-detection, syadg123/pigat, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- openSUSE-SU-2019:1256 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2019:1293 (vendor-advisory, Mailing List, Third Party Advisory)
- USN-3566-2 (vendor-advisory)
- openSUSE-SU-2019:1572 (vendor-advisory)
- openSUSE-SU-2019:1573 (vendor-advisory)
- RHSA-2019:2519 (vendor-advisory)
- RHSA-2019:3299 (vendor-advisory)