CVE-2016-3078
CriticalPublic exploitphp: Heap overflow caused by integer overflow when reading zip files in ZipArchive
Published Apr 28, 2016 · Updated Aug 7, 2026 · Also known as UBUNTU-CVE-2016-3078
Key Facts
Patch immediately- CVE-2016-3078 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting PHP, php5 (ubuntu), php7.0 (ubuntu).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- Fixed versions are available, including PHP 7.0.6, php5 5.5.9+dfsg-1ubuntu4.17, php7.0 7.0.4-7ubuntu2.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2016-3078 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | See advisory | 7.0.6 |
| php5ubuntu | See advisory | 5.5.9+dfsg-1ubuntu4.17 |
| php7.0ubuntu | See advisory | 7.0.4-7ubuntu2.1 |
Patched Releases
PHP
7.0.6
php5
5.5.9+dfsg-1ubuntu4.17
php7.0
7.0.4-7ubuntu2.1
Timeline
Publicly disclosed
Apr 28, 2016
Last updated
Aug 7, 2026
Weakness Type
- CWE-122 Heap-based Buffer Overflow
- CWE-190 Integer Overflow or Wraparound
References
- advisoryhttps://php.net/ChangeLog-7.php
- advisoryhttps://security-tracker.debian.org/tracker/CVE-2016-3078
- advisoryhttps://ubuntu.com/security/CVE-2015-8865
- advisoryhttps://ubuntu.com/security/CVE-2016-3078
- advisoryhttps://ubuntu.com/security/CVE-2016-3132
FAQ
Common Questions.
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.
Affected: PHP; php5 (ubuntu); php7.0 (ubuntu). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including PHP 7.0.6, php5 5.5.9+dfsg-1ubuntu4.17, php7.0 7.0.4-7ubuntu2.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2016-3078 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo