CVE-2017-14166
libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-14166- Updated
- 2026-11-02
EUVDEUVD-2017-5676 No score
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.
- Record
EUVD-2017-5676- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2j9p-6c4h-8967
6.5
libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer...
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.
- Record
GHSA-2j9p-6c4h-8967- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-14166
6.5
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.
- Record
ALPINE-CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2017-14166
6.5
CVE-2017-14166 does not affect BellSoft software
- Record
BELL-CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
6.5
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.
- Record
CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2017-14166
6.5
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.
- Record
DEBIAN-CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHEA-2021:1580
7.5
Red Hat Enhancement Advisory: libarchive bug fix and enhancement update
- Record
RHEA-2021:1580- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-14166
6.5
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.
- Record
UBUNTU-CVE-2017-14166- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0337 No score
Updated libarchive packages fix security vulnerability
Heap-based buffer overflow in xml_data() in archive_read_support_format_xar.c (CVE-2017-14166).
- Record
MGASA-2017-0337- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10925-1 No score
bsdtar-3.5.1-1.5 on GA media
These are all security issues fixed in the bsdtar-3.5.1-1.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10925-1- Updated
- 2026-11-02
OSVSUSE-RU-2021:2757-1 No score
Recommended update for libarchive
This update for libarchive fixes the following issues:
libarchive was updated to version 3.3.3
- Avoid super-linear slowdown on malformed mtree files
- Many fixes for building with Visual Studio
- NO_OVERWRITE doesn't change existing directory attributes
- New support for Zstandard read and write filters
- Fixes CVE-2017-14501, CVE-2017-14502, CVE-2017-14503
- Needed by of Firefox91 (bsc#1188891)
- Record
SUSE-RU-2021:2757-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3640-1 No score
Security update for libarchive
This update for libarchive fixes the following issues:
- CVE-2016-10209: The archive_wstring_append_from_mbs function in archive_string.c allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted archive file. (bsc#1032089)
- CVE-2016-10349: The archive_le32dec function in archive_endian.h allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file. (bsc#1037008)
- CVE-2016-10350: The archive_read_format_cab_read_header function in archive_read_support_format_cab.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file. (bsc#1037009)
- CVE-2017-14166: libarchive allowed 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. (bsc#1057514)
- CVE-2017-14501: An out-of-bounds read flaw existed in parse_file_info in archive_read_support_format_iso9660.c when extracting a specially crafted iso9660 iso file, related to archive_read_format_iso9660_read_header. (bsc#1059139)
- CVE-2017-14502: read_header in archive_read_support_format_rar.c suffered from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header. (bsc#1059134)
- CVE-2017-14503: libarchive suffered from an out-of-bounds read within lha_read_data_none() in archive_read_support_format_lha.c when extracting a specially crafted lha archive, related to lha_crc16. (bsc#1059100)
- Record
SUSE-SU-2018:3640-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3640-2 No score
Security update for libarchive
This update for libarchive fixes the following issues:
- CVE-2016-10209: The archive_wstring_append_from_mbs function in archive_string.c allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted archive file. (bsc#1032089)
- CVE-2016-10349: The archive_le32dec function in archive_endian.h allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file. (bsc#1037008)
- CVE-2016-10350: The archive_read_format_cab_read_header function in archive_read_support_format_cab.c allowed remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file. (bsc#1037009)
- CVE-2017-14166: libarchive allowed 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. (bsc#1057514)
- CVE-2017-14501: An out-of-bounds read flaw existed in parse_file_info in archive_read_support_format_iso9660.c when extracting a specially crafted iso9660 iso file, related to archive_read_format_iso9660_read_header. (bsc#1059139)
- CVE-2017-14502: read_header in archive_read_support_format_rar.c suffered from an off-by-one error for UTF-16 names in RAR archives, leading to an out-of-bounds read in archive_read_format_rar_read_header. (bsc#1059134)
- CVE-2017-14503: libarchive suffered from an out-of-bounds read within lha_read_data_none() in archive_read_support_format_lha.c when extracting a specially crafted lha archive, related to lha_crc16. (bsc#1059100)
- Record
SUSE-SU-2018:3640-2- Updated
- 2026-11-02
OSVUSN-3736-1 No score
libarchive vulnerabilities
It was discovered that libarchive incorrectly handled certain archive files. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-10209, CVE-2016-10349, CVE-2016-10350)
Agostino Sarubbo discovered that libarchive incorrectly handled certain XAR files. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2017-14166)
It was discovered that libarchive incorrectly handled certain files. A remote attacker could possibly use this issue to get access to sensitive information. (CVE-2017-14501, CVE-2017-14503)
- Record
USN-3736-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libarchiveAlpine:v3.10 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.11 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.12 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.13 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.14 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.15 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.16 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.17 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.18 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.19 |
before 3.3.2-r1 | 3.3.2-r1 |
Show 57 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libarchiveAlpine:v3.20 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.21 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.22 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.23 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.24 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.4 |
before 3.2.2-r1 | 3.2.2-r1 |
libarchiveAlpine:v3.5 |
before 3.3.1-r2 | 3.3.1-r2 |
libarchiveAlpine:v3.6 |
before 3.3.1-r2 | 3.3.1-r2 |
libarchiveAlpine:v3.7 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.8 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveAlpine:v3.9 |
before 3.3.2-r1 | 3.3.2-r1 |
libarchiveDebian:12 |
before 3.2.2-3.1 | 3.2.2-3.1 |
libarchiveDebian:13 |
before 3.2.2-3.1 | 3.2.2-3.1 |
libarchiveDebian:14 |
before 3.2.2-3.1 | 3.2.2-3.1 |
libarchiveDebian:7 |
before 3.0.4-3+wheezy6+deb7u1, plus listed versions 3.0.4-3+nmu13.0.4-3+wheezy13.0.4-3+wheezy23.0.4-3+wheezy33.0.4-3+wheezy43.0.4-3+wheezy53.0.4-3+wheezy5+deb7u13.0.4-3+wheezy6 |
3.0.4-3+wheezy6+deb7u1 |
libarchiveDebian:8 |
before 3.1.2-11+deb8u4, plus listed versions 3.1.2-113.1.2-11+deb8u13.1.2-11+deb8u23.1.2-11+deb8u33.1.2-11+deb8u3~bpo70+1 |
3.1.2-11+deb8u4 |
libarchiveDebian:9 |
before 3.2.2-2+deb9u1, plus listed versions 3.2.2-2 |
3.2.2-2+deb9u1 |
libarchiveMageia:5 |
before 3.2.2-1.4.mga5 | 3.2.2-1.4.mga5 |
libarchiveMageia:6 |
before 3.3.1-1.1.mga6 | 3.3.1-1.1.mga6 |
bsdcat-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdcpio-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdtarRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdtar-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchiveRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchive-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchive-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdcat-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdcpio-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
bsdtar-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchive-debuginfoRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchive-debugsourceRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchive-develRed Hat:enterprise_linux:8::crb |
before 0:3.3.3-1.el8 | 0:3.3.3-1.el8 |
libarchiveSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Server 15-LTSS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Server 15 SP1-BCL |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 15 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Manager Proxy 4.0 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Manager Retail Branch Server 4.0 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Manager Server 4.0 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Enterprise Storage 6 |
before 3.3.3-3.14.1 | 3.3.3-3.14.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP3 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP3 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Server 12 SP3 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP4 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP4 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Server 12 SP4 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.1.2-26.3.1 | 3.1.2-26.3.1 |
libarchiveUbuntu:14.04:LTS |
before 3.1.2-7ubuntu2.6, plus listed versions 3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.13.1.2-7ubuntu2.23.1.2-7ubuntu2.33.1.2-7ubuntu2.4 |
3.1.2-7ubuntu2.6 |
libarchiveUbuntu:16.04:LTS |
before 3.1.2-11ubuntu0.16.04.4, plus listed versions 3.1.2-11build13.1.2-11ubuntu0.16.04.13.1.2-11ubuntu0.16.04.23.1.2-11ubuntu0.16.04.3 |
3.1.2-11ubuntu0.16.04.4 |
libarchiveUbuntu:18.04:LTS |
before 3.2.2-3.1ubuntu0.1, plus listed versions 3.2.2-3.1 |
3.2.2-3.1ubuntu0.1 |
bsdtaropenSUSE:Tumbleweed |
before 3.5.1-1.5 | 3.5.1-1.5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-14166 is a medium vulnerability (CVSS 6.5) in Libarchive, published September 6, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.77%, the 86th percentile. Fixed in libarchive 3.3.2-r1.
References
blogs.gentoo.org/ago/2017/09/06/libarchive-heap-based-buffer-overflow-in-xml_data-archive_read_support_format_xar-c
lists.debian.org/debian-lts-announce/2018/11/msg00037.html
debian.org/security/2018/dsa-4360
github.com/libarchive/libarchive/commit/fa7438a0ff4033e4741c807394a9af6207940d71
usn.ubuntu.com/3736-1
security.gentoo.org/glsa/201908-11
Show 58 moreShow less
nvd.nist.gov/vuln/detail/CVE-2017-14166
github.com/advisories/GHSA-2j9p-6c4h-8967
security.alpinelinux.org/vuln/CVE-2017-14166
docs.bell-sw.com/security/cves/CVE-2017-14166
security-tracker.debian.org/tracker/CVE-2017-14166
advisories.mageia.org/MGASA-2017-0337.html
bugs.mageia.org/show_bug.cgi?id=21682
openwall.com/lists/oss-security/2017/09/06/5
access.redhat.com/errata/RHEA-2021:1580
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=1827927
security.access.redhat.com/data/csaf/v2/advisories/2021/rhea-2021_1580.json
access.redhat.com/security/cve/CVE-2017-14166
bugzilla.redhat.com/show_bug.cgi?id=1489852
cve.org/CVERecord?id=CVE-2017-14166
access.redhat.com/security/cve/CVE-2017-14501
bugzilla.redhat.com/show_bug.cgi?id=1494460
cve.org/CVERecord?id=CVE-2017-14501
nvd.nist.gov/vuln/detail/CVE-2017-14501
access.redhat.com/security/cve/CVE-2017-14502
bugzilla.redhat.com/show_bug.cgi?id=1494463
cve.org/CVERecord?id=CVE-2017-14502
nvd.nist.gov/vuln/detail/CVE-2017-14502
suse.com/support/update/announcement/-2021-2757/suse-ru-20212757-1
bugzilla.suse.com/1188891
suse.com/security/cve/CVE-2017-14166
suse.com/security/cve/CVE-2017-14501
suse.com/security/cve/CVE-2017-14502
suse.com/security/cve/CVE-2017-14503
suse.com/security/cve/CVE-2019-18408
suse.com/support/update/announcement/2018/suse-su-20183640-1
bugzilla.suse.com/1032089
bugzilla.suse.com/1037008
bugzilla.suse.com/1037009
bugzilla.suse.com/1057514
bugzilla.suse.com/1059100
bugzilla.suse.com/1059134
bugzilla.suse.com/1059139
suse.com/security/cve/CVE-2016-10209
suse.com/security/cve/CVE-2016-10349
suse.com/security/cve/CVE-2016-10350
suse.com/support/update/announcement/2018/suse-su-20183640-2
ubuntu.com/security/CVE-2017-14166
ubuntu.com/security/notices/USN-3736-1
ubuntu.com/security/CVE-2016-10209
ubuntu.com/security/CVE-2016-10349
ubuntu.com/security/CVE-2016-10350
ubuntu.com/security/CVE-2017-14501
ubuntu.com/security/CVE-2017-14503
suse.com/security/cve/CVE-2006-5680
suse.com/security/cve/CVE-2007-3641
suse.com/security/cve/CVE-2018-1000877
suse.com/security/cve/CVE-2018-1000878
suse.com/security/cve/CVE-2018-1000879
suse.com/security/cve/CVE-2018-1000880
suse.com/security/cve/CVE-2019-1000019
suse.com/security/cve/CVE-2019-1000020
suse.com/security/cve/CVE-2019-19221