Description
The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote attackers to write to arbitrary files via a crafted archive file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libarchive | 3.2.1-4 | — |
| Debian 13 | libarchive | 3.2.1-4 | — |
| Debian 12 | libarchive | 3.2.1-4 | — |
| Debian 8 | libarchive | 3.1.2-11+deb8u3 | DSA-3677-1 |
| Debian 7 | libarchive | 3.0.4-3+wheezy4 | DLA-657-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libarchive | 3.1.2-11ubuntu0.16.04.3 | USN-3225-1 |
| Ubuntu 14.04 LTS | libarchive | 3.1.2-7ubuntu2.4 | USN-3225-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | bsdtar +3 | 3.1.2-10.el7_2 | RHSA-2016:1844 |
| RHEL 6 | libarchive +1 | 2.8.3-7.el6_8 | RHSA-2016:1850 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 3 | atomic-openshift +9 | 3.1.1.7-1.git.0.65f396b.el7aos | RHSA-2016:1853, RHSA-2016:1852 |
| Red Hat OpenShift 3 | atomic-openshift-tests | 3.2.1.15-1.git.0.d84be7f.el7 | RHSA-2016:1853 |
| Red Hat OpenShift 3 | heapster | 1.1.0-1.beta2.el7.1 | RHSA-2016:1853 |
| Red Hat OpenShift 3 | openshift-ansible +6 | 3.2.28-1.git.0.5a85fc5.el7 | RHSA-2016:1853 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | libarchive | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SLES 12 SP1 | libarchive | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | libarchive | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
| SLES for SAP 12 SP1 | libarchive | 3.1.2-25.1 | SUSE-SU-2016:2911-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bsdtar | 3.2.2-2.1 | openSUSE-SU-2024:10127-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | bsdtar +3 | 3.1.2-10.el7_2 | ELSA-2016-1844 |
Advisories 10
- RHSA-2016:1853 Red Hat Security Advisory: Red Hat OpenShift Enterprise 3.2 security update and bug fix update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2016:1850 Red Hat Security Advisory: libarchive security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2016:1852 Red Hat Security Advisory: Red Hat OpenShift Enterprise 3.1 security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- RHSA-2016:1844 Red Hat Security Advisory: libarchive security update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-3225-1 libarchive vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-657-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3677-1 libarchive - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10127-1 bsdtar-3.2.2-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2911-1 Security update for libarchive SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2016-1844 Important: libarchive security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 12, 2016
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1362601
- RHSA-2016:1852 vendor-advisory
- RHSA-2016:1853 vendor-advisory
- https://github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9
- RHSA-2016:1844 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://gist.github.com/anonymous/e48209b03f1dd9625a992717e7b89c4f
- https://github.com/libarchive/libarchive/issues/746
- RHSA-2016:1850 vendor-advisory
- GLSA-201701-03 vendor-advisory
- 93165 vdb-entry
- [oss-security] 20160809 FreeBSD update components vulns (libarchive, bsdiff, portsnap) mailing-list