CVE-2016-8687

Source
https://cve.org/CVERecord?id=CVE-2016-8687
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8687.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-8687
Downstream
Related
Published
2017-02-15T19:59:00.580Z
Modified
2026-07-08T12:54:12.386488Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Stack-based buffer overflow in the safe_fprintf function in tar/util.c in libarchive 3.2.1 allows remote attackers to cause a denial of service via a crafted non-printable multibyte character in a filename.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:opensuse:leap:42.2:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "42.2"
                },
                {
                    "last_affected": "42.2"
                }
            ],
            "vendor_product": "opensuse:leap",
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Database specific
{
    "cpe": "cpe:2.3:a:libarchive:libarchive:3.2.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "3.2.1"
        },
        {
            "last_affected": "3.2.1"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.2.1
v3.*
v3.2.1

Database specific

vanir_signatures_modified
"2026-07-08T12:54:12Z"
vanir_signatures
[
    {
        "target": {
            "file": "tar/util.c"
        },
        "id": "CVE-2016-8687-2b8436e1",
        "digest": {
            "line_hashes": [
                "274947236785517941576769110957933520277",
                "162673665667336708429251698339556414402",
                "30924440026046384237080647977686539477",
                "6762232481255207823455611895071712144"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a"
    },
    {
        "target": {
            "function": "safe_fprintf",
            "file": "tar/util.c"
        },
        "id": "CVE-2016-8687-f2b8937e",
        "digest": {
            "function_hash": "306124670893253162293110805501400168732",
            "length": 1454.0
        },
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "source": "https://github.com/libarchive/libarchive/commit/e37b620fe8f14535d737e89a4dcabaed4517bf1a"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8687.json"