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

# CVE-2016-7166

Publication date 21 September 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

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

## Cvss 3 Severity Score

**5.5 · Medium**

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

Toggle side navigation

## Description

libarchive before 3.2.0 does not limit the number of recursive
decompressions, which allows remote attackers to cause a denial of service
(memory consumption and application crash) via a crafted gzip file.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libarchive | 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Fixed 3.1.2-11ubuntu0.16.04.3 |
| 14.04 LTS trusty | Fixed 3.1.2-7ubuntu2.4 |
| 12.04 LTS precise | Fixed 3.0.3-6ubuntu1.4 |

---

* [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-7166?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 |
| --- | --- |
| libarchive | * Upstream:   [6e06b1c](https://github.com/libarchive/libarchive/commit/6e06b1c89dd0d16f74894eac4cfc1327a06ee4a0) * Upstream:   [37649d2](https://github.com/libarchive/libarchive/commit/37649d274867edd2dd25d8a3057c3b6cd81ce83e) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-3225-1](https://usn.ubuntu.com/USN-3225-1)
+ libarchive vulnerabilities
+ 9 March 2017

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2016-7166>
