CVE-2018-20783

NameCVE-2018-20783
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1608-1, DSA-4353-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php7.3 (PTS)buster7.3.31-1~deb10u1fixed
buster (security)7.3.31-1~deb10u5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcejessie5.6.39+dfsg-0+deb8u1DLA-1608-1
php5source(unstable)(unfixed)
php7.0sourcestretch7.0.33-0+deb9u1DSA-4353-1
php7.0source(unstable)(unfixed)
php7.3source(unstable)7.3.0-1

Notes

Fixed in 5.6.39, 7.0.33, 7.1.25, 7.2.13
PHP Bug: https://bugs.php.net/bug.php?id=77143

Search for package or bug name: Reporting problems