---
title: "CVE-2016-3078\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-3078?format=md
keywords: index, follow
---

# CVE-2016-3078

Publication date 29 April 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**9.8 · Critical**

[Score breakdown](https://ubuntu.com/security/CVE-2016-3078?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2016-3078?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 16.04 LTS xenial | Not in release |
| 15.10 wily | Not affected |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not affected |
| php7.0 | 16.04 LTS xenial | Fixed 7.0.4-7ubuntu2.1 |
| 15.10 wily | Not in release |
| 14.04 LTS trusty | Not in release |
| 12.04 LTS precise | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2016-3078?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

32-bit only
php7.0 only

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php7.0 | * Upstream:   <https://git.php.net/?p=php-src.git;a=commit;h=ccc12efa32f855e6057cb9b7e1e45afe08503a00> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

9.8 · Critical

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 9.8 · Critical |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3078)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-3078)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-3078)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-3078)

### Related Ubuntu Security Notices (USN)

+ [USN-2984-1](https://usn.ubuntu.com/USN-2984-1)
+ PHP vulnerabilities
+ 24 May 2016

### Other references

* <http://www.openwall.com/lists/oss-security/2016/04/28/1>
* <https://www.cve.org/CVERecord?id=CVE-2016-3078>
