CVE-2017-5601

Source
https://cve.org/CVERecord?id=CVE-2017-5601
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-5601.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-5601
Downstream
Related
Published
2017-01-27T22:59:08.413Z
Modified
2026-08-03T14:23:48.765118Z
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 lhareadfileheader1() function (archivereadsupportformatlha.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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "3.2.2"
                },
                {
                    "last_affected": "3.2.2"
                }
            ],
            "source": "CPE_STRING",
            "vendor_product": "libarchive:libarchive",
            "cpes": [
                "cpe:2.3:a:libarchive:libarchive:3.2.2:*:*:*:*:*:*:*"
            ]
        }
    ]
}
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
{
    "source": "REFERENCES"
}

Affected versions

v3.*
v3.0.0a
v3.0.1b
v3.1.900a
v3.2.0
v3.2.1
v3.2.2

Database specific

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