Skip to content
OpenAdvisories
Unscored CVE-2015-7804 EUVD-2015-7703GHSA-w62r-v45f-552v

Off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers …

Published Dec 11, 2015 · Updated Aug 6, 2024 · Assigned by redhat

Description

Off-by-one error in the phar_parse_zipfile function in ext/phar/zip.c in PHP before 5.5.30 and 5.6.x before 5.6.14 allows remote attackers to cause a denial of service (uninitialized pointer dereference and application crash) by including the / filename in a .zip PHAR archive.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 php5 5.6.14+dfsg-0+deb8u1 DSA-3380-1
Debian 7 php5 5.4.45-0+deb7u2 DSA-3380-1
Debian 6.0 php5 5.3.3.1-7+squeeze28 DLA-341-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.14 USN-2786-1
ReleasePackageFixed inAdvisory
RHEL 2 rh-php56-php +27 5.6.5-8.el6 RHSA-2016:0457

Advisories 4

References