CVE-2016-8688
publishedlibarchive: heap based buffer overflow in detect_form (archive_read_support_format_mtree.c)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | libarchive | Advisory build | 3.1.2-11+deb8u4 | DLA-1600-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-develppc64le | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| Ubuntu | trusty | bsdcpio | Advisory build | 3.1.2-7ubuntu2.4 | USN-3225-1 |
| Debian | wheezy | libarchive | Advisory build | 3.0.4-3+wheezy5 | DLA-661-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-devels390x | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive-develx86_64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive13ppc64le | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
Show 33 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP1 | libarchive13s390x | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP1 | libarchive13x86_64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive-develaarch64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive-develppc64le | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive-devels390x | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive-develx86_64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive13aarch64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive13ppc64le | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive13s390x | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | SLE-12-SP2 | libarchive13x86_64 | Advisory build | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtaraarch64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarppc64le | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtars390x | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarx86_64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develaarch64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develppc64le | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-devels390x | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive-develx86_64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13aarch64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13ppc64le | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13s390x | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13x86_64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitaarch64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitppc64le | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bits390x | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libarchive13-32bitx86_64 | Advisory build | 3.2.2-2.1 | OPENSUSE-SU-2024:10127-1 |
| Ubuntu | trusty | bsdtar | Advisory build | 3.1.2-7ubuntu2.4 | USN-3225-1 |
| Ubuntu | trusty | libarchive | Advisory build | 3.1.2-7ubuntu2.4 | USN-3225-1 |
| Ubuntu | trusty | libarchive13 | Advisory build | 3.1.2-7ubuntu2.4 | USN-3225-1 |
| Ubuntu | xenial | bsdcpio | Advisory build | 3.1.2-11ubuntu0.16.04.3 | USN-3225-1 |
| Ubuntu | xenial | bsdtar | Advisory build | 3.1.2-11ubuntu0.16.04.3 | USN-3225-1 |
| Ubuntu | xenial | libarchive | Advisory build | 3.1.2-11ubuntu0.16.04.3 | USN-3225-1 |
| Ubuntu | xenial | libarchive13 | Advisory build | 3.1.2-11ubuntu0.16.04.3 | USN-3225-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
12- openSUSE-SU-2016:3002 http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.html
- [oss-security] 20161015 Re: Libarchive/bsdtar: multiple crashes http://www.openwall.com/lists/oss-security/2016/10/16/11
- 93781 http://www.securityfocus.com/bid/93781
- https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-bid_entry-archive_read_support_format_mtree-c/
- https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-detect_form-archive_read_support_format_mtree-c/
- https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-memory-corruptionunknown-crash-in-bid_entry-archive_read_support_format_mtree-c/
- https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-bid_entry-archive_read_support_format_mtree-c/
- https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-use-after-free-in-detect_form-archive_read_support_format_mtree-c/
- https://bugzilla.redhat.com/show_bug.cgi?id=1377923
- https://github.com/libarchive/libarchive/commit/eec077f52bfa2d3f7103b4b74d52572ba8a15aca
- [debian-lts-announce] 20181129 [SECURITY] [DLA 1600-1] libarchive security update https://lists.debian.org/debian-lts-announce/2018/11/msg00037.html
- GLSA-201701-03 https://security.gentoo.org/glsa/201701-03
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9e69fa4e05be9da089eb978df5c976d26fb0dbfc1659175f8d38d35157b7ef2a
- Ingested
- 23 Sep 2026, 07:41:36 UTC
- Source record
- Official CVE record