CVE-2016-3078
publishedphp: Heap overflow caused by integer overflow when reading zip files in ZipArchive
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Ubuntu | xenial | libapache2-mod-php7.0 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | libphp7.0-embed | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-bcmath | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-bz2 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-cgi | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-cli | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
Show 30 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | php7.0-common | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-curl | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-enchant | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-fpm | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-gd | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-gmp | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-imap | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-interbase | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-intl | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-json | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-ldap | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mbstring | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mcrypt | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-mysql | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-odbc | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-opcache | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-pgsql | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-phpdbg | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-pspell | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-readline | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-recode | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-snmp | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-soap | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-sqlite3 | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-sybase | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-tidy | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-xml | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-xmlrpc | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-xsl | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
| Ubuntu | xenial | php7.0-zip | Advisory build | 7.0.4-7ubuntu2.1 | USN-2984-1 |
Description
Multiple integer overflows in php_zip.c in the zip extension in PHP before 7.0.6 allow remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted call to (1) getFromIndex or (2) getFromName in the ZipArchive class.
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) | redhat · cna |
Weaknesses
1- n/a
References
7- [oss-security] 20160428 CVE-2016-3078: php: integer overflow in ZipArchive::getFrom* http://www.openwall.com/lists/oss-security/2016/04/28/1
- 1035701 http://www.securitytracker.com/id/1035701
- https://bugs.php.net/bug.php?id=71923
- https://github.com/php/php-src/commit/3b8d4de300854b3517c7acb239b84f7726c1353c?w=1
- https://php.net/ChangeLog-7.php
- https://security-tracker.debian.org/tracker/CVE-2016-3078
- 39742 https://www.exploit-db.com/exploits/39742/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5431a2a26379199769c126435ec113ec19c42de635726e9759408a73ac831527
- Ingested
- 23 Sep 2026, 07:41:14 UTC
- Source record
- Official CVE record