{"id":"CVE-2017-5601","aliases":["ALPINE-CVE-2017-5601","DEBIAN-CVE-2017-5601","DLA-1600-1","DLA-810-1","EUVD-2017-14700","GHSA-7xm3-5xp5-q98v","MGASA-2017-0056","SUSE-SU-2022:0944-1","SUSE-SU-2022:0944-2","SUSE-SU-2022:1930-1","UBUNTU-CVE-2017-5601","USN-3225-1","openSUSE-SU-2022:0944-1","openSUSE-SU-2024:13549-1"],"status":"published","title":"An error in the lha_read_file_header_1() function (archive_read_support_format_lha.c) in...","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.04327,"percentile":0.91316,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-01-27T00:00:00Z","modified":"2026-10-20T13:16:29Z","fixes":[{"ecosystem":"Alpine:v3.4","package":"libarchive","fixed_in":["3.2.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"libarchive","fixed_in":["3.2.2-r1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libarchive","fixed_in":["3.2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libarchive","fixed_in":["3.2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libarchive","fixed_in":["3.2.1-6"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"libarchive","fixed_in":["3.0.4-3+wheezy5+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"libarchive","fixed_in":["3.2.2-1.1.mga5"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"libarchive","fixed_in":["3.1.2-7ubuntu2.4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","fixed_in":["3.1.2-11ubuntu0.16.04.3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.4","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-r1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-6"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11+deb8u4"}]}],"versions":["3.1.2-11","3.1.2-11+deb8u1","3.1.2-11+deb8u2","3.1.2-11+deb8u3","3.1.2-11+deb8u3~bpo70+1"],"bundled":12},{"source":"osv","ecosystem":"Debian:7","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4-3+wheezy5+deb7u1"}]}],"versions":["3.0.4-3+nmu1","3.0.4-3+wheezy1","3.0.4-3+wheezy2","3.0.4-3+wheezy3","3.0.4-3+wheezy4","3.0.4-3+wheezy5"]},{"source":"osv","ecosystem":"Mageia:5","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.2-1.1.mga5"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 7","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP4","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.1-150400.3.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.1-150400.3.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.1-150400.3.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.4"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.3"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-7ubuntu2.4"}]}],"versions":["3.1.2-5ubuntu1","3.1.2-7ubuntu1","3.1.2-7ubuntu2","3.1.2-7ubuntu2.1","3.1.2-7ubuntu2.2","3.1.2-7ubuntu2.3"],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.2-11ubuntu0.16.04.3"}]}],"versions":["3.1.2-11build1","3.1.2-11ubuntu0.16.04.1","3.1.2-11ubuntu0.16.04.2"],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"libarchive","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-150200.4.3.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"bsdtar","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.2-1.1"}]}],"bundled":3}],"products":[{"vendor":"libarchive","product":"libarchive"}],"references":[{"url":"https://secunia.com/secunia_research/2017-3/","tags":["x_refsource_MISC","x_transferred","web","report"]},{"url":"https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/95837","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1037974","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5601"},{"url":"https://secunia.com/secunia_research/2017-3"},{"url":"https://github.com/advisories/GHSA-7xm3-5xp5-q98v"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-5601","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5601","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0056.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20223","tags":["report"]},{"url":"https://lwn.net/Alerts/713127/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20220944-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1022528","tags":["report"]},{"url":"https://bugzilla.suse.com/1188572","tags":["report"]},{"url":"https://bugzilla.suse.com/1189528","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5601","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-36976","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20220944-2/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221930-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1197634","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-26280","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-5601","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3225-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5601","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-5418","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-6250","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7166","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8687","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8688","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8689","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/2GOSOUIKGPKMNRIKY4M2SLF54G6W2YC4/","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2021-23177","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T22:01:00Z","modified":"2024-08-05T15:04:15.336Z","updated_at":"2026-11-02T14:33:12.599234Z"}],"euvd":[{"id":"EUVD-2017-14700","description":"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.","status":"published","published":"2017-01-27T22:01:00Z","modified":"2024-08-05T15:04:15Z","updated_at":"2026-11-03T02:39:14.545495Z"}],"ghsa":[{"id":"GHSA-7xm3-5xp5-q98v","title":"An error in the lha_read_file_header_1() function (archive_read_support_format_lha.c) in...","description":"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.","status":"published","published":"2022-05-14T01:54:40Z","modified":"2025-04-20T03:32:57Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:01:40.176288Z"}],"nvd":[{"id":"CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T22:59:08.413Z","modified":"2026-06-17T01:20:49.207Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:03:42.372487Z"}],"osv":[{"id":"ALPINE-CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T22:59:08.413Z","modified":"2026-06-15T18:24:44.300602401Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:46.716249Z"},{"id":"CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T22:59:08.413Z","modified":"2026-10-20T13:16:29.670140585Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T22:59:08.413Z","modified":"2026-09-01T20:03:48.594238884Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"UBUNTU-CVE-2017-5601","description":"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.","status":"published","published":"2017-01-27T00:00:00Z","modified":"2026-04-22T11:28:18.790321Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.388065Z"},{"id":"DLA-1600-1","title":"libarchive - security update","status":"published","published":"2018-11-29T00:00:00Z","modified":"2026-03-09T01:20:53.992687Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DLA-810-1","title":"libarchive - security update","status":"published","published":"2017-01-31T00:00:00Z","modified":"2026-03-09T02:11:01.643278Z","updated_at":"2026-11-02T15:46:13.207219Z"},{"id":"MGASA-2017-0056","title":"Updated libarchive packages fix security vulnerability","description":"An error in the lha_read_file_header_1() function\n(archive_read_support_format_lha.c) in libarchive 3.2.2 allows remote\nattackers to trigger an out-of-bounds read memory access and subsequently\ncause a crash via a specially crafted archive. (CVE-2017-5601)\n","status":"published","published":"2017-02-20T13:00:19Z","modified":"2026-04-16T06:25:03.496516968Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2022:0944-1","title":"Security update for libarchive","description":"This update for libarchive fixes the following issues:\n\n- CVE-2021-36976: Fixed an invalid memory access that could cause data\n  corruption (bsc#1188572).\n\nNon-security updates:\n\n- Updated references for CVE-2017-5601, which was already fixed in a previous\n  version (bsc#1022528 bsc#1189528).\n","status":"published","published":"2022-03-24T11:53:21Z","modified":"2026-02-04T03:19:44.10699Z","updated_at":"2026-11-02T16:58:32.653274Z"},{"id":"openSUSE-SU-2024:13549-1","title":"bsdtar-3.7.2-1.1 on GA media","description":"These are all security issues fixed in the bsdtar-3.7.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:09:44.584085Z","updated_at":"2026-11-02T16:58:36.327643Z"},{"id":"SUSE-SU-2022:0944-1","title":"Security update for libarchive","description":"This update for libarchive fixes the following issues:\n\n- CVE-2021-36976: Fixed an invalid memory access that could cause data\n  corruption (bsc#1188572).\n\nNon-security updates:\n\n- Updated references for CVE-2017-5601, which was already fixed in a previous\n  version (bsc#1022528 bsc#1189528).\n","status":"published","published":"2022-03-24T11:53:11Z","modified":"2026-02-04T02:46:59.140986Z","updated_at":"2026-11-02T15:53:50.066806Z"},{"id":"SUSE-SU-2022:0944-2","title":"Security update for libarchive","description":"This update for libarchive fixes the following issues:\n\n- CVE-2021-36976: Fixed an invalid memory access that could cause data\n  corruption (bsc#1188572).\n\nNon-security updates:\n\n- Updated references for CVE-2017-5601, which was already fixed in a previous\n  version (bsc#1022528 bsc#1189528).\n","status":"published","published":"2023-01-31T07:08:31Z","modified":"2026-02-04T02:52:12.356977Z","updated_at":"2026-11-02T15:53:50.066806Z"},{"id":"SUSE-SU-2022:1930-1","title":"Security update for libarchive","description":"This update for libarchive fixes the following issues:\n\n- CVE-2022-26280: Fixed out-of-bounds read via the component zipx_lzma_alone_init (bsc#1197634).\n- CVE-2021-36976: Fixed use-after-free in copy_string (called from do_uncompress_block and process_block) (bsc#1188572).\n- CVE-2017-5601: Fixed out-of-bounds memory access preventing denial-of-service (bsc#1197634, bsc#1189528).\n","status":"published","published":"2022-06-02T15:34:49Z","modified":"2026-02-04T04:20:25.430978Z","updated_at":"2026-11-02T15:53:50.513981Z"},{"id":"USN-3225-1","title":"libarchive vulnerabilities","description":"It was discovered that libarchive incorrectly handled hardlink entries when\nextracting archives. A remote attacker could possibly use this issue to\noverwrite arbitrary files. (CVE-2016-5418)\n\nChristian Wressnegger, Alwin Maier, and Fabian Yamaguchi discovered that\nlibarchive incorrectly handled filename lengths when writing ISO9660\narchives. A remote attacker could use this issue to cause libarchive to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode. This issue only applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and\nUbuntu 16.04 LTS. (CVE-2016-6250)\n\nAlexander Cherepanov discovered that libarchive incorrectly handled\nrecursive decompressions. A remote attacker could possibly use this issue\nto cause libarchive to hang, resulting in a denial of service. This issue\nonly applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.\n(CVE-2016-7166)\n\nIt was discovered that libarchive incorrectly handled non-printable\nmultibyte characters in filenames. A remote attacker could possibly use\nthis issue to cause libarchive to crash, resulting in a denial of service.\n(CVE-2016-8687)\n\nIt was discovered that libarchive incorrectly handled line sizes when\nextracting certain archives. A remote attacker could possibly use this\nissue to cause libarchive to crash, resulting in a denial of service.\n(CVE-2016-8688)\n\nIt was discovered that libarchive incorrectly handled multiple EmptyStream\nattributes when extracting certain 7zip archives. A remote attacker could\npossibly use this issue to cause libarchive to crash, resulting in a denial\nof service. (CVE-2016-8689)\n\nJakub Jirasek discovered that libarchive incorrectly handled memory when\nextracting certain archives. A remote attacker could possibly use this\nissue to cause libarchive to crash, resulting in a denial of service.\n(CVE-2017-5601)\n","status":"published","published":"2017-03-09T18:41:10Z","modified":"2026-04-22T09:33:10.453504Z","updated_at":"2026-11-02T16:58:10.303275Z"}]}}
