CVE-2016-7166

Source
https://cve.org/CVERecord?id=CVE-2016-7166
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7166.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-7166
Downstream
Published
2016-09-21T14:25:29.833Z
Modified
2026-08-03T14:23:39.311725Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "3.1.901a"
                }
            ],
            "source": "CPE_RANGE",
            "vendor_product": "libarchive:libarchive",
            "cpes": [
                "cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "6"
                },
                {
                    "last_affected": "6"
                },
                {
                    "introduced": "7"
                },
                {
                    "last_affected": "7"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "oracle:linux",
            "cpes": [
                "cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*",
                "cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "6.0"
                },
                {
                    "last_affected": "6.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_desktop",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "6.0"
                },
                {
                    "last_affected": "6.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_hpc_node",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.2"
                },
                {
                    "last_affected": "7.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_hpc_node_eus",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "6.0"
                },
                {
                    "last_affected": "6.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_server",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.2"
                },
                {
                    "last_affected": "7.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_server_aus",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.2"
                },
                {
                    "last_affected": "7.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_server_eus",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "6.0"
                },
                {
                    "last_affected": "6.0"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "redhat:enterprise_linux_workstation",
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ]
        },
        {
            "extracted_events": [
                {
                    "fixed": "3.2.0"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Affected versions

v3.*
v3.0.0a
v3.0.1b

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7166.json"
vanir_signatures_modified
"2026-08-03T14:23:39Z"
vanir_signatures
[
    {
        "digest": {
            "line_hashes": [
                "322249619529619440321848821059704942456",
                "204323184115947032942788606140734167829",
                "53128830481938165057533978090971461410",
                "210842141848661018861781229891885568107",
                "92955886637755593085125416091092887801",
                "39239856261147431992750255720530106608",
                "219001906336049789283271144702296850611",
                "300793396999789703062089561275547917723",
                "50602967525767722369012125206287191903",
                "101939981856117434506075189448118884993",
                "41696469281611705517438622574604691789",
                "93662261141235397336793541586627527916",
                "14922624608788651983020252531567255043"
            ],
            "threshold": 0.9
        },
        "source": "https://github.com/libarchive/libarchive/commit/6e06b1c89dd0d16f74894eac4cfc1327a06ee4a0",
        "target": {
            "file": "libarchive/archive_read.c"
        },
        "deprecated": false,
        "id": "CVE-2016-7166-331730fd",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "275373803838793477454246285970392479828",
            "length": 1074.0
        },
        "source": "https://github.com/libarchive/libarchive/commit/6e06b1c89dd0d16f74894eac4cfc1327a06ee4a0",
        "target": {
            "file": "libarchive/archive_read.c",
            "function": "choose_filters"
        },
        "deprecated": false,
        "id": "CVE-2016-7166-5a996891",
        "signature_version": "v1",
        "signature_type": "Function"
    }
]