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:00Z
Modified
2026-08-07T14:48:28Z
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"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "opensuse:leap"
        }
    ]
}
References

Affected packages

Git / github.com/libarchive/libarchive

Affected ranges

Type
GIT
Repo
https://github.com/libarchive/libarchive
Events
Database specific
Show details
{
    "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

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