Every CVE Search/ Get API key

CVE-2016-8688

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read...

5.5 MediumFix available

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.98%Unchanged since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
CVE-2016-8688
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/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

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
CVE-2016-8688
Updated
2026-11-02
EUVDEUVD-2016-9527 No score

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
EUVD-2016-9527
Updated
2026-11-03
GitHub AdvisoriesGHSA-jf7m-wjh4-58hv 5.5

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read...

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
GHSA-jf7m-wjh4-58hv
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 5.5

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
CVE-2016-8688
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2016-8688 5.5

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
DEBIAN-CVE-2016-8688
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2016-8688 5.5

The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

Record
UBUNTU-CVE-2016-8688
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:10127-1 No score

bsdtar-3.2.2-2.1 on GA media

These are all security issues fixed in the bsdtar-3.2.2-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10127-1
Updated
2026-11-02
OSVSUSE-SU-2016:2911-1 No score

Security update for libarchive

This update for libarchive fixes several issues.

These security issues were fixed:

  • CVE-2016-8687: Buffer overflow when printing a filename (bsc#1005070).
  • CVE-2016-8689: Heap overflow when reading corrupted 7Zip files (bsc#1005072).
  • CVE-2016-8688: Use after free because of incorrect calculation in next_line (bsc#1005076).
  • CVE-2016-5844: Integer overflow in the ISO parser in libarchive allowed remote attackers to cause a denial of service (application crash) via a crafted ISO file (bsc#986566).
  • CVE-2016-6250: Integer overflow in the ISO9660 writer in libarchive allowed remote attackers to cause a denial of service (application crash) or execute arbitrary code via vectors related to verifying filename lengths when writing an ISO9660 archive, which trigger a buffer overflow (bsc#989980).
  • CVE-2016-5418: The sandboxing code in libarchive mishandled hardlink archive entries of non-zero data size, which might allowed remote attackers to write to arbitrary files via a crafted archive file (bsc#998677).
Record
SUSE-SU-2016:2911-1
Updated
2026-11-02
OSVUSN-3225-1 No score

libarchive vulnerabilities

It was discovered that libarchive incorrectly handled hardlink entries when extracting archives. A remote attacker could possibly use this issue to overwrite arbitrary files. (CVE-2016-5418)

Christian Wressnegger, Alwin Maier, and Fabian Yamaguchi discovered that libarchive incorrectly handled filename lengths when writing ISO9660 archives. A remote attacker could use this issue to cause libarchive to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-6250)

Alexander Cherepanov discovered that libarchive incorrectly handled recursive decompressions. A remote attacker could possibly use this issue to cause libarchive to hang, resulting in a denial of service. This issue only applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-7166)

It was discovered that libarchive incorrectly handled non-printable multibyte characters in filenames. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2016-8687)

It was discovered that libarchive incorrectly handled line sizes when extracting certain archives. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2016-8688)

It was discovered that libarchive incorrectly handled multiple EmptyStream attributes when extracting certain 7zip archives. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2016-8689)

Jakub Jirasek discovered that libarchive incorrectly handled memory when extracting certain archives. A remote attacker could possibly use this issue to cause libarchive to crash, resulting in a denial of service. (CVE-2017-5601)

Record
USN-3225-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libarchive
Debian:12
before 3.2.1-5
3.2.1-5
libarchive
Debian:13
before 3.2.1-5
3.2.1-5
libarchive
Debian:14
before 3.2.1-5
3.2.1-5
libarchive
Debian:8
From an advisory covering 12 CVEs
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:7
From an advisory covering 3 CVEs
before 3.0.4-3+wheezy5, plus listed versions
3.0.4-3+nmu13.0.4-3+wheezy13.0.4-3+wheezy23.0.4-3+wheezy33.0.4-3+wheezy4
3.0.4-3+wheezy5
libarchive
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP1
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
libarchive
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 7 CVEs
before 3.1.2-25.1
3.1.2-25.1
libarchive
Ubuntu:14.04:LTS
before 3.1.2-7ubuntu2.4, plus listed versions
3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.13.1.2-7ubuntu2.23.1.2-7ubuntu2.3
3.1.2-7ubuntu2.4
libarchive
Ubuntu:16.04:LTS
before 3.1.2-11ubuntu0.16.04.3, plus listed versions
3.1.2-11build13.1.2-11ubuntu0.16.04.13.1.2-11ubuntu0.16.04.2
3.1.2-11ubuntu0.16.04.3
libarchive
Ubuntu:14.04:LTS
From an advisory covering 7 CVEs
before 3.1.2-7ubuntu2.4, plus listed versions
3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.13.1.2-7ubuntu2.23.1.2-7ubuntu2.3
3.1.2-7ubuntu2.4
libarchive
Ubuntu:16.04:LTS
From an advisory covering 7 CVEs
before 3.1.2-11ubuntu0.16.04.3, plus listed versions
3.1.2-11build13.1.2-11ubuntu0.16.04.13.1.2-11ubuntu0.16.04.2
3.1.2-11ubuntu0.16.04.3
bsdtar
openSUSE:Tumbleweed
From an advisory covering 16 CVEs
before 3.2.2-2.1
3.2.2-2.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-8688 is a medium vulnerability (CVSS 5.5) in Libarchive, published October 17, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.98%, the 80th percentile. Fixed in libarchive 3.2.1-5.

References

Show 41 moreShow less
MoveEnter Open