CVE-2016-8688
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.
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
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 Medium
CVSS:3.0/AV:L/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
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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
libarchiveDebian:12 |
before 3.2.1-5 | 3.2.1-5 |
libarchiveDebian:13 |
before 3.2.1-5 | 3.2.1-5 |
libarchiveDebian:14 |
before 3.2.1-5 | 3.2.1-5 |
libarchiveDebian: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 |
libarchiveDebian: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 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE: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 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE: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
| Package | Affected | Fixed |
|---|---|---|
libarchiveSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE: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 |
libarchiveSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 7 CVEs |
before 3.1.2-25.1 | 3.1.2-25.1 |
libarchiveSUSE: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 |
libarchiveUbuntu: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 |
libarchiveUbuntu: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 |
libarchiveUbuntu: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 |
libarchiveUbuntu: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 |
bsdtaropenSUSE:Tumbleweed From an advisory covering 16 CVEs |
before 3.2.2-2.1 | 3.2.2-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-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
openwall.com/lists/oss-security/2016/10/16/11
lists.debian.org/debian-lts-announce/2018/11/msg00037.html
blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form-archive_read_support_format_mtree-c
bugzilla.redhat.com/show_bug.cgi?id=1377923
security.gentoo.org/glsa/201701-03
github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca
Show 41 moreShow less
blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-bid_entry-archive_read_support_format_mtree-c
securityfocus.com/bid/93781
blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-crash-in-bid_entry-archive_read_support_format_mtree-c
blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-detect_form-archive_read_support_format_mtree-c
lists.opensuse.org/opensuse-updates/2016-12/msg00027.html
blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-bid_entry-archive_read_support_format_mtree-c
nvd.nist.gov/vuln/detail/CVE-2016-8688
github.com/advisories/GHSA-jf7m-wjh4-58hv
security-tracker.debian.org/tracker/CVE-2016-8688
suse.com/support/update/announcement/2016/suse-su-20162911-1
bugzilla.suse.com/1005070
bugzilla.suse.com/1005072
bugzilla.suse.com/1005076
bugzilla.suse.com/986566
bugzilla.suse.com/989980
bugzilla.suse.com/998677
suse.com/security/cve/CVE-2015-2304
suse.com/security/cve/CVE-2016-5418
suse.com/security/cve/CVE-2016-5844
suse.com/security/cve/CVE-2016-6250
suse.com/security/cve/CVE-2016-8687
suse.com/security/cve/CVE-2016-8688
suse.com/security/cve/CVE-2016-8689
ubuntu.com/security/CVE-2016-8688
ubuntu.com/security/notices/USN-3225-1
cve.org/CVERecord?id=CVE-2016-8688
ubuntu.com/security/CVE-2016-5418
ubuntu.com/security/CVE-2016-6250
ubuntu.com/security/CVE-2016-7166
ubuntu.com/security/CVE-2016-8687
ubuntu.com/security/CVE-2016-8689
ubuntu.com/security/CVE-2017-5601
suse.com/security/cve/CVE-2013-0211
suse.com/security/cve/CVE-2015-8917
suse.com/security/cve/CVE-2015-8928
suse.com/security/cve/CVE-2015-8933
suse.com/security/cve/CVE-2015-8934
suse.com/security/cve/CVE-2016-1541
suse.com/security/cve/CVE-2016-4300
suse.com/security/cve/CVE-2016-4301
suse.com/security/cve/CVE-2016-4809