All vulnerabilities

Servers and applications

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.

Severity
High 7.5
Published
21 Feb 2019
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
5.6.39, 7.0.33, 7.1.25, 7.2.13
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Every version before 5.6.39
  • From 7.0.0 before 7.0.33
  • From 7.1.0 before 7.1.25
  • From 7.2.0 before 7.2.13

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2018-20783
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-20783