Every CVE Search/ Get API key

CVE-2017-14166

libarchive 3.3.2 allows remote attackers to cause a denial of service (xml_data heap-based buffer...

6.5 MediumFix available

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

2.77%Up 0.5 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
libarchive
Alpine:v3.10
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.11
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.12
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.13
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.14
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.15
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.16
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.17
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.18
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.19
before 3.3.2-r1
3.3.2-r1
Show 57 moreShow less
Affected packages
PackageAffectedFixed
libarchive
Alpine:v3.20
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.21
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.22
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.23
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.24
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.4
before 3.2.2-r1
3.2.2-r1
libarchive
Alpine:v3.5
before 3.3.1-r2
3.3.1-r2
libarchive
Alpine:v3.6
before 3.3.1-r2
3.3.1-r2
libarchive
Alpine:v3.7
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.8
before 3.3.2-r1
3.3.2-r1
libarchive
Alpine:v3.9
before 3.3.2-r1
3.3.2-r1
libarchive
Debian:12
before 3.2.2-3.1
3.2.2-3.1
libarchive
Debian:13
before 3.2.2-3.1
3.2.2-3.1
libarchive
Debian:14
before 3.2.2-3.1
3.2.2-3.1
libarchive
Debian: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
libarchive
Debian: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
libarchive
Debian:9
before 3.2.2-2+deb9u1, plus listed versions
3.2.2-2
3.2.2-2+deb9u1
libarchive
Mageia:5
before 3.2.2-1.4.mga5
3.2.2-1.4.mga5
libarchive
Mageia:6
before 3.3.1-1.1.mga6
3.3.1-1.1.mga6
bsdcat-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdcpio-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdtar
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdtar-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive-debuginfo
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive-debugsource
Red Hat:enterprise_linux:8::baseos
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdcat-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdcpio-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
bsdtar-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive-debuginfo
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive-debugsource
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive-devel
Red Hat:enterprise_linux:8::crb
before 0:3.3.3-1.el8
0:3.3.3-1.el8
libarchive
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Server 15-LTSS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Server 15 SP1-BCL
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Manager Proxy 4.0
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Manager Retail Branch Server 4.0
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Manager Server 4.0
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Enterprise Storage 6
before 3.3.3-3.14.1
3.3.3-3.14.1
libarchive
SUSE:Linux Enterprise Desktop 12 SP3
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP3
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Server 12 SP3
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Desktop 12 SP4
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Server 12 SP4
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.1.2-26.3.1
3.1.2-26.3.1
libarchive
Ubuntu: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
libarchive
Ubuntu: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
libarchive
Ubuntu:18.04:LTS
before 3.2.2-3.1ubuntu0.1, plus listed versions
3.2.2-3.1
3.2.2-3.1ubuntu0.1
bsdtar
openSUSE:Tumbleweed
before 3.5.1-1.5
3.5.1-1.5

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 58 moreShow less
MoveEnter Open