Description
Directory traversal vulnerability in the PharData class in PHP before 5.4.44, 5.5.x before 5.5.28, and 5.6.x before 5.6.12 allows remote attackers to write to arbitrary files via a .. (dot dot) in a ZIP archive entry that is mishandled during an extractTo call.
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.12+dfsg-0+deb8u1 | DSA-3344-1 |
| Debian 7 | php5 | 5.4.44-0+deb7u1 | DSA-3344-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.13 | USN-2758-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 2 | rh-php56-php +27 | 5.6.5-8.el6 | RHSA-2016:0457 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | php5 | 5.5.14-36.1 | SUSE-SU-2015:1633-1 |
| SLES 11 SP4 | php53 | 5.3.17-48.1 | SUSE-SU-2015:1818-1 |
| SLES 11 SP3 | php53 | 5.3.17-48.1 | SUSE-SU-2015:1818-1 |
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | php53 | 5.3.17-48.1 | SUSE-SU-2015:1818-1 |
| SLES for SAP 11 SP3 | php53 | 5.3.17-48.1 | SUSE-SU-2015:1818-1 |
Advisories 7
- RHSA-2016:0457 Red Hat Security Advisory: rh-php56-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2758-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-341-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3344-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1633-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1818-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- DSA-3344 vendor-advisory
- https://bugs.php.net/bug.php?id=70019
- [oss-security] 20150819 CVE Request: more php unserializing issues mailing-list
- http://www.php.net/ChangeLog-5.php
- GLSA-201606-10 vendor-advisory