CVE-2016-3078PHP Heap Buffer Overflow
php: Heap overflow caused by integer overflow when reading zip files in ZipArchive
Published Apr 28, 2016 · Updated Oct 20, 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. A public exploit is reported by tracking sources, but no code link is listed yet.
- 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.
Scores
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
Exploit maturity
Proof of concept
ATLAS score
54/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
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
Oct 20, 2026
Weakness Type
- CWE-122 Heap-based Buffer Overflow
- CWE-190 Integer Overflow or Wraparound
References
- advisorysecurity-tracker.debian.org · CVE-2016-3078
- advisoryubuntu.com · CVE-2016-3078
- advisorycve.org · CVERecord
- advisoryphp.net · ChangeLog-7.php
- advisoryubuntu.com · USN-2984-1
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.
A public exploit is reported by tracking sources, but no code link is listed yet.
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo