### [CVE-2018-20783](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20783) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - https://hackerone.com/reports/477344 - https://hackerone.com/reports/477344 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/CyCognito/manual-detection - https://github.com/syadg123/pigat - https://github.com/teamssix/pigat