CVE-2016-10160
publishedphp: Off-by-one error in phar_parse_pharfile when loading crafted phar archive
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | php5 | Advisory build | 5.6.30+dfsg-0+deb8u1 | DSA-3783-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP3 | apache2-mod_php53i586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| Debian | wheezy | php5 | Advisory build | 5.4.45-0+deb7u7 | DLA-818-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-imapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-tidyx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el6 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpsrc | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-phpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-bcmathx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-clix86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-commonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbax86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-dbgx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-debuginfox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-develx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-embeddedx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-enchantx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-fpmx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gdx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-gmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-intlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-jsonx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-ldapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mbstringx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-mysqlndx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-odbcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-opcachex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pdox86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pgsqlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-processx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-pspellx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-recodex86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-snmpx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-soapx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-xmlrpcx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php70-php-zipx86_64 | Advisory build | 7.0.27-1.el7 | RHSA-2018:1296 |
| SUSE / openSUSE | SLE-11-SP3 | apache2-mod_php53s390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | apache2-mod_php53x86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53i586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53s390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53x86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bcmathi586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bcmaths390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bcmathx86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bz2i586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bz2s390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-bz2x86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-calendari586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-calendars390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-calendarx86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-ctypei586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-ctypes390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-ctypex86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-curli586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-curls390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-curlx86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-dbai586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-dbas390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-dbax86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-domi586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-doms390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-domx86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-exifi586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-exifs390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-exifx86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-fastcgii586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-fastcgis390x | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-fastcgix86_64 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
| SUSE / openSUSE | SLE-11-SP3 | php53-fileinfoi586 | Advisory build | 5.3.17-101.1 | SUSE-SU-2017:0568-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 allows remote attackers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a crafted PHAR archive with an alias mismatch.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
11- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- DSA-3783 http://www.debian.org/security/2017/dsa-3783
- 95783 http://www.securityfocus.com/bid/95783
- 1037659 http://www.securitytracker.com/id/1037659
- RHSA-2018:1296 https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=73768
- https://github.com/php/php-src/commit/b28b8b2fee6dfa6fcd13305c581bb835689ac3be
- GLSA-201702-29 https://security.gentoo.org/glsa/201702-29
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.tenable.com/security/tns-2017-04
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4c94840c65d03c4b1f832343d18cd727f66495dfeae3ac79822e2c0c9dc3ae55
- Ingested
- 23 Sep 2026, 07:41:02 UTC
- Source record
- Official CVE record