BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2018-20783

HIGH 7.5 CVSS 3.0
Published
February 21, 2019
Last modified
June 17, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-125
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Affected products and versions

  • PHP — Before 5.6.39
  • PHP — From 7.0.0 (including) to 7.0.33 (excluding)
  • PHP — From 7.1.0 (including) to 7.1.25 (excluding)
  • PHP — From 7.2.0 (including) to 7.2.13 (excluding)

References

  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00083.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00104.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00041.html
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00044.html
  • php.net http://php.net/ChangeLog-5.php Vendor Advisory
  • php.net http://php.net/ChangeLog-7.php Vendor Advisory
  • access.redhat.com https://access.redhat.com/errata/RHSA-2019:2519
  • access.redhat.com https://access.redhat.com/errata/RHSA-2019:3299
  • bugs.php.net https://bugs.php.net/bug.php?id=77143 Exploit, Issue Tracking, Vendor Advisory
  • usn.ubuntu.com https://usn.ubuntu.com/3566-2/
  • nvd.nist.gov Official NVD record