CVE-2016-7166

Summary

CVECVE-2016-7166
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-09-21 14:25:29 UTC
Updated2026-05-06 22:30:45 UTC
Descriptionlibarchive 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.

Risk And Classification

Primary CVSS: v3.0 5.5 MEDIUM from [email protected]

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

EPSS: 0.003620000 probability, percentile 0.582930000 (date 2026-05-06)

Problem Types: CWE-399 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary5.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
2.0[email protected]Primary4.3AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:M/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libarchive Libarchive All All All All
Operating System Oracle Linux 6 All All All
Operating System Oracle Linux 7 All All All
Operating System Redhat Enterprise Linux Desktop 6.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Hpc Node 6.0 All All All
Operating System Redhat Enterprise Linux Hpc Node 7.0 All All All
Operating System Redhat Enterprise Linux Hpc Node Eus 7.2 All All All
Operating System Redhat Enterprise Linux Server 6.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server Aus 7.2 All All All
Operating System Redhat Enterprise Linux Server Eus 7.2 All All All
Operating System Redhat Enterprise Linux Workstation 6.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
207362 – Crafted gzip archive causes tar(1) to exhaust all your memory af854a3a-2127-422b-91ae-364da2661108 bugs.freebsd.org Issue Tracking
libarchive: Multiple vulnerabilities (GLSA 201701-03) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
Bug 1347086 – CVE-2016-7166 libarchive: Denial of service using a crafted gzip file af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
oss-security - CVE request: libarchive (pre 3.2.0) denial of service with gzip quine af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
Oracle Linux Bulletin - July 2016 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Third Party Advisory
oss-security - Re: CVE request: libarchive (pre 3.2.0) denial of service with gzip quine af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Third Party Advisory
Possible denial of service using a crafted gzip file · Issue #660 · libarchive/libarchive · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch, Third Party Advisory
libarchive CVE-2016-7166 Denial Of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com Third Party Advisory
Fix a potential crash issue discovered by Alexander Cherepanov: · libarchive/libarchive@6e06b1c · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Issue Tracking, Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710502 Gentoo Linux libarchive Multiple Vulnerabilities (GLSA 201701-03)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report