Vulnerabilities · 2018 · Php
CVE-2018-20783
Php vulnerability
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.
Affected products
Php, Leap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- php.net/ChangeLog-5.php · Vendor Advisory
- php.net/ChangeLog-7.php · Vendor Advisory
- bugs.php.net/bug.php?id=77143 · Exploit
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html
- access.redhat.com/errata/RHSA-2019:2519
- nvd.nist.gov/vuln/detail/CVE-2018-20783
- cve.org/CVERecord?id=CVE-2018-20783
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.