CVE-2017-14166

Source
https://cve.org/CVERecord?id=CVE-2017-14166
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14166.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-14166
Downstream
ALPINE (1)
BELL (1)
DEBIAN (1)
MGASA (1)
openSUSE (1)
RHEA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-09-06T18:29:00Z
Modified
2026-08-07T14:59:17Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer over-read and application crash) via a crafted xar archive, related to the mishandling of empty strings in the atol8 function in archive_read_support_format_xar.c.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "14.04"
                },
                {
                    "last_affected":  "14.04"
                },
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                },
                {
                    "introduced":  "9.0"
                },
                {
                    "last_affected":  "9.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
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.3.2:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.3.2"
        },
        {
            "last_affected":  "3.3.2"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.3.2
v3.*
v3.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14166.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "22896334843526093180736066296199390258",
            "length":  252
        },
        "id":  "CVE-2017-14166-8b8c9fe3",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "target":  {
            "file":  "libarchive/archive_read_support_format_xar.c",
            "function":  "atol8"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "306826382494510933660800859828621127375",
                "263019307768072499342249514957965856663",
                "335663963310048766376761345995812168806",
                "99099958808001043042586216301068977286",
                "202259133909944234003097793124428872639",
                "182001944860290744146342507656516228755"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-14166-d6ce55c2",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "target":  {
            "file":  "libarchive/archive_read_support_format_xar.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "23263452411327199978277794560809399548",
            "length":  239
        },
        "id":  "CVE-2017-14166-efb70994",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71",
        "target":  {
            "file":  "libarchive/archive_read_support_format_xar.c",
            "function":  "atol10"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:59:17Z"