High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5601
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:11 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5601
Complete source record
{
"id": "8d181e745fd6b4d5d7efb8a167ff47a619a3ed7a81d0bf3e64b2ea7a8a14fa2c",
"url": "https://osv.dev/vulnerability/CVE-2017-5601",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5601",
"summary": "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.",
"evidence": "osv:CVE-2017-5601",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-5601",
"aliases": [
"CVE-2017-5601"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libarchive/libarchive",
"type": "GIT",
"events": [
{
"introduced": "629358182b04d7de2316bbd29708c58ddf797fd2"
},
{
"last_affected": "629358182b04d7de2316bbd29708c58ddf797fd2"
},
{
"fixed": "98dcbbf0bf4854bf987557e55e55fff7abbf3ea9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:libarchive:libarchive:3.2.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.2.2"
},
{
"last_affected": "3.2.2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "98dcbbf0bf4854bf987557e55e55fff7abbf3ea9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.2.2",
"v3.2.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5601.json",
"vanir_signatures": [
{
"id": "CVE-2017-5601-0c9a258d",
"digest": {
"length": 1651,
"function_hash": "336704226165769747464089933487872960037"
},
"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,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2017-5601-864d99df",
"digest": {
"threshold": 0.9,
"line_hashes": [
"154933373695779527317611311915132494466",
"42771799760974896591912558998750698051",
"84107349244644041201078345399127083101"
]
},
"source": "https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9",
"target": {
"file": "libarchive/archive_read_support_format_lha.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:16:29Z"
}
}
],
"modified": "2026-10-20T13:16:29.670140585Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html",
"https://secunia.com/secunia_research/2017-3/",
"https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5601",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387432,
"published_at": "2017-01-27T22:59:08.413+00:00"
}