CVE-2017-5601

Source
https://cve.org/CVERecord?id=CVE-2017-5601
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5601.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-5601
Downstream
ALPINE (1)
DEBIAN (1)
MGASA (1)
openSUSE (2)
SUSE (3)
UBUNTU (1)
Related
Published
2017-01-27T22:59:08Z
Modified
2026-08-07T14:48:59Z
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

An error in the lha_read_file_header_1() function (archive_read_support_format_lha.c) in libarchive 3.2.2 allows remote attackers to trigger an out-of-bounds read memory access and subsequently cause a crash via a specially crafted archive.

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.2:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "3.2.2"
        },
        {
            "last_affected":  "3.2.2"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.2.2
v3.*
v3.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5601.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "336704226165769747464089933487872960037",
            "length":  1651
        },
        "id":  "CVE-2017-5601-0c9a258d",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9",
        "target":  {
            "file":  "libarchive/archive_read_support_format_lha.c",
            "function":  "lha_read_file_header_1"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "154933373695779527317611311915132494466",
                "42771799760974896591912558998750698051",
                "84107349244644041201078345399127083101"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-5601-864d99df",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9",
        "target":  {
            "file":  "libarchive/archive_read_support_format_lha.c"
        }
    }
]
vanir_signatures_modified
"2026-08-07T14:48:59Z"