Description
The phar_parse_metadata function in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (heap metadata corruption) or possibly have unspecified other impact via a crafted tar 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.9+dfsg-0+deb8u1 | DSA-3280-1 |
| Debian 7 | php5 | 5.4.41-0+deb7u1 | DSA-3280-1 |
| Debian 6.0 | php5 | 5.3.3.1-7+squeeze27 | DLA-307-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | php +24 | 5.4.16-36.ael7b_1 | RHSA-2015:1135 |
| RHEL 6 | php +26 | 5.3.3-46.el6_6 | RHSA-2015:1218 |
| RHEL 2 | php54 +2 | 2.0-1.el6 | RHSA-2015:1066 |
| RHEL 2 | php54-php +24 | 5.4.40-1.el6 | RHSA-2015:1066 |
| RHEL 2 | php54-php-pecl-zendopcache | 7.0.4-3.el6 | RHSA-2015:1066 |
| RHEL 2 | php55-php +26 | 5.5.21-4.el6 | RHSA-2015:1186 |
| RHEL 2 | rh-php56-php +27 | 5.6.5-7.el6 | RHSA-2015:1187 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | php +24 | 5.4.16-36.el7_1 | ELSA-2015-1135 |
| Oracle Linux 7 | php54 +2 | 2.0-1.el7 | ELSA-2015-1066 |
| Oracle Linux 7 | php54-php +22 | 5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux 7 | php54-php-imap +1 | 5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux 7 | php54-php-pecl-zendopcache | 7.0.4-3.el7 | ELSA-2015-1066 |
| Oracle Linux 7 | php55-php +24 | 5.5.21-4.el7 | ELSA-2015-1186 |
Advisories 10
- RHSA-2015:1218 Red Hat Security Advisory: php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1187 Red Hat Security Advisory: rh-php56-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1186 Red Hat Security Advisory: php55-php security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1135 Red Hat Security Advisory: php security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1066 Red Hat Security Advisory: php54 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DLA-307-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3280-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2015-1186 Important: php55-php security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 4, 2016
- ELSA-2015-1066 Important: php54 security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 4, 2016
- ELSA-2015-1135 Important: php security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 23, 2015
References
- RHSA-2015:1187 vendor-advisory
- RHSA-2015:1186 vendor-advisory
- 74703 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1223441
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://bugs.php.net/bug.php?id=69443
- APPLE-SA-2015-08-13-2 vendor-advisory
- RHSA-2015:1135 vendor-advisory
- https://support.apple.com/kb/HT205031
- RHSA-2015:1066 vendor-advisory
- RHSA-2015:1218 vendor-advisory