---
title: "CVE-2016-3142\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-3142?format=md
keywords: index, follow
---

# CVE-2016-3142

Publication date 31 March 2016

Last updated 25 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**8.2 · High**

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

Toggle side navigation

## Description

The phar\_parse\_zipfile function in zip.c in the PHAR extension in PHP
before 5.5.33 and 5.6.x before 5.6.19 allows remote attackers to obtain
sensitive information from process memory or cause a denial of service
(out-of-bounds read and application crash) by placing a PK\x05\x06
signature at an invalid location.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 15.10 wily | Fixed 5.6.11+dfsg-1ubuntu3.2 |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.16 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.22 |
| php7.0 | 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-3142?format=md#patch-details)

### 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 |
| --- | --- |
| php5 | * Upstream:   <https://git.php.net/?p=php-src.git;a=commit;h=a6fdc5bb27b20d889de0cd29318b3968aabb57bd> |
| php7.0 | * Upstream:   <https://git.php.net/?p=php-src.git;a=commit;h=a6fdc5bb27b20d889de0cd29318b3968aabb57bd> |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.2 · High

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.2 · High |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2952-1](https://usn.ubuntu.com/USN-2952-1)
+ PHP vulnerabilities
+ 21 April 2016

### Other references

* <http://www.openwall.com/lists/oss-security/2016/03/10/5>
* <http://www.openwall.com/lists/oss-security/2016/03/13/2>
* <https://www.cve.org/CVERecord?id=CVE-2016-3142>
