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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.14 | USN-2786-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 2 | rh-php56-php +27 | 5.6.5-8.el6 | RHSA-2016:0457 |
Advisories 4
- RHSA-2016:0457 Red Hat Security Advisory: rh-php56-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2786-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-341-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3380-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://support.apple.com/HT205637
- openSUSE-SU-2016:0251 vendor-advisory
- DSA-3380 vendor-advisory
- APPLE-SA-2015-12-08-3 vendor-advisory
- SSA:2016-034-04 vendor-advisory
- 76959 vdb-entry
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1ddf72180a52d247db88ea42a3e35f824a8fbda1
- http://www.php.net/ChangeLog-5.php
- https://bugs.php.net/bug.php?id=70433
- [oss-security] 20151005 CVE request: issues fixed in PHP 5.6.14 and 5.5.30 mailing-list
- USN-2786-1 vendor-advisory
- GLSA-201606-10 vendor-advisory