CVE-2016-7414 in the critical feed json
The ZIP signature-verification feature in PHP before 5.6.26 and 7.x before 7.0.11 does not ensure that the uncompressed_filesize field is l…
published 2016-09-17 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8267
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.8%
- EPSS 6.8% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
The ZIP signature-verification feature in PHP before 5.6.26 and 7.x before 7.0.11 does not ensure that the uncompressed_filesize field is large enough, which allows remote attackers to cause a denial of service (out-of-bounds memory access) or possibly have unspecified other impact via a crafted PHAR archive, related to ext/phar/util.c and ext/phar/zip.c.
Patch / fix
- php5 Ubuntu 14.04 LTS 5.5.9+dfsg-1ubuntu4.20
- php7.0 Ubuntu 16.04 LTS 7.0.8-0ubuntu0.16.04.3
ubuntu advisories UBUNTU-CVE-2016-7414
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rh-php70-php RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
- rh-php70-php RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
- rh-php70-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
- rh-php70-php-gd RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
- rh-php70-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
- rh-php70-php-cli RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
- rh-php70-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el6
- rh-php70-php-dba RHEL 3 SOFTWARE_COLLECTIONS 7.0.27-1.el7
red hat advisories RHSA-2018:1296
- php5 SLE Software Development Kit 12 SP1, SLE Module for Web and Scripting 12 5.5.14-78.1
- php7 SLE Software Development Kit 12 SP1, SLE Module for Web and Scripting 12 7.0.7-15.1
- php53 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +6 more 5.3.17-84.1
- php53 SLES 11 SP2-LTSS 5.3.17-58.1
suse advisories SUSE-SU-2016:2477-1SUSE-SU-2016:2477-2SUSE-SU-2016:2461-1SUSE-SU-2016:2460-1SUSE-SU-2016:2460-2SUSE-SU-2016:2459-1
- php Alpine 3.3, Alpine 3.2 5.6.27-r0
alpine advisories ALPINE-CVE-2016-7414
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-7414 updated cvss 5.9
php: Out of bounds heap read when verifying signature of zip phar in phar_parse_zipfile
-
Red Hat Enterprise Linux 5 php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, php54-php-cli, +72 moreaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 morefixed: vendor fix RHSA-2018:1296
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-php70-php 7.0.27-1.el6, rh-php70-php-gd 7.0.27-1.el6, rh-php70-php-cli 7.0.27-1.el6, rh-php70-php-dba 7.0.27-1.el6, rh-php70-php-dbg 7.0.27-1.el6, rh-php70-php-fpm 7.0.27-1.el6, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-php70-php 7.0.27-1.el7, rh-php70-php-gd 7.0.27-1.el7, rh-php70-php-cli 7.0.27-1.el7, rh-php70-php-dba 7.0.27-1.el7, rh-php70-php-dbg 7.0.27-1.el7, rh-php70-php-fpm 7.0.27-1.el7, +22 more -
Red Hat Enterprise Linux 5 phpnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.84% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=72928 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/php/php-src/commit/0bfb970f43acd1e81d11be1154805f86655f15d5?w=1
issue-tracking, patch
-
bugs.php.net
/bug.php?id=72928
exploit, issue-tracking
-
security.gentoo.org
/glsa/201611-22
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:1296
vendor-advisory
-
php.net
/ChangeLog-7.php
release-notes
-
securitytracker.com
/id/1036836
vdb-entry
-
securityfocus.com
/bid/93004
vdb-entry
-
openwall.com
/lists/oss-security/2016/09/15/10
mailing-list
-
php.net
/ChangeLog-5.php
release-notes
- tenable.com /security/tns-2016-19
Sources
- CVE List CVE-2016-7414
- NVD CVE-2016-7414
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.