Skip to content
Fencer Vulns
medium 5.5

CVE-2016-7166 json

libarchive before 3.2.0 does not limit the number of recursive decompressions, which allows remote attackers to cause a denial of service (…

published 2016-09-21 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8034

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 76%
public exploits
0
none known

Summary

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.

Patch / fix

  • libarchive Debian 14, Debian 13, Debian 12 3.2.0-2

debian advisories DEBIAN-CVE-2016-7166

  • libarchive Ubuntu 14.04 LTS 3.1.2-7ubuntu2.4
  • libarchive Ubuntu 16.04 LTS 3.1.2-11ubuntu0.16.04.3

ubuntu advisories UBUNTU-CVE-2016-7166

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libarchive RHEL 6 2.8.3-7.el6_8
  • libarchive RHEL 7 3.1.2-10.el7_2
  • bsdtar RHEL 7 3.1.2-10.el7_2
  • bsdcpio RHEL 7 3.1.2-10.el7_2

red hat advisories RHSA-2016:1850RHSA-2016:1844

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-7166 updated cvss 3.5

libarchive: Denial of service using a crafted gzip file

  • Red Hat Enterprise Linux Client (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2 Red Hat Enterprise Linux Client Optional (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2 Red Hat Enterprise Linux ComputeNode (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2
    fixed: vendor fix RHSA-2016:1844
  • Red Hat Enterprise Linux Desktop (v. 6) libarchive 2.8.3-7.el6_8 Red Hat Enterprise Linux Desktop Optional (v. 6) libarchive 2.8.3-7.el6_8 Red Hat Enterprise Linux HPC Node Optional (v. 6) libarchive 2.8.3-7.el6_8 Red Hat Enterprise Linux Server (v. 6) libarchive 2.8.3-7.el6_8
    fixed: vendor fix RHSA-2016:1850
  • Red Hat Enterprise Linux Server (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2
    fixed: vendor fix RHSA-2016:1844
  • Red Hat Enterprise Linux Server Optional (v. 6) libarchive 2.8.3-7.el6_8
    fixed: vendor fix RHSA-2016:1850
  • Red Hat Enterprise Linux Server Optional (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2
    fixed: vendor fix RHSA-2016:1844
  • Red Hat Enterprise Linux Workstation (v. 6) libarchive 2.8.3-7.el6_8
    fixed: vendor fix RHSA-2016:1850
  • Red Hat Enterprise Linux Workstation (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2
    fixed: vendor fix RHSA-2016:1844
  • Red Hat Enterprise Linux Workstation Optional (v. 6) libarchive 2.8.3-7.el6_8
    fixed: vendor fix RHSA-2016:1850
show 1 more
  • Red Hat Enterprise Linux Workstation Optional (v. 7) bsdtar 3.1.2-10.el7_2, bsdcpio 3.1.2-10.el7_2, libarchive 3.1.2-10.el7_2
    fixed: vendor fix RHSA-2016:1844

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.64% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.