CVE-2018-20783: Opensuse Leap

High severity, CVSS 7.5. EPSS: 5.7% chance of exploitation in the next 30 days.

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

  • Opensuse Leap: version 42.3 only
  • PHP PHP: before 5.6.39 (fixed in 5.6.39); from 7.0.0, before 7.0.33 (fixed in 7.0.33); from 7.1.0, before 7.1.25 (fixed in 7.1.25); from 7.2.0, before 7.2.13 (fixed in 7.2.13)

Published 2019-02-21. Last modified 2026-06-17.