High severity7.5NVD Advisory· Published Sep 21, 2016· Updated Jun 17, 2026
CVE-2016-5418
CVE-2016-5418
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
27<=3.2.0+ 1 more
- (no CPE)range: <=3.2.0
- cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*range: <=3.2.0
- osv-coords10 versionspkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/libarchive&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/opensuse/bsdtar&distro=openSUSE%20Tumbleweed
< 3.1.2-25.1+ 9 more
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.1.2-25.1
- (no CPE)range: < 3.2.2-2.1
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:oracle:linux:6:*:*:*:*:*:*:*
- cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
12- github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9nvdPatch
- www.openwall.com/lists/oss-security/2016/08/09/2nvdExploitTechnical Description
- gist.github.com/anonymous/e48209b03f1dd9625a992717e7b89c4fnvdExploitTechnical Description
- github.com/libarchive/libarchive/issues/746nvdExploitPatch
- rhn.redhat.com/errata/RHSA-2016-1844.htmlnvdThird Party Advisory
- rhn.redhat.com/errata/RHSA-2016-1850.htmlnvdThird Party Advisory
- www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.htmlnvdThird Party Advisory
- access.redhat.com/errata/RHSA-2016:1852nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2016:1853nvdThird Party Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryVDB Entry
- www.securityfocus.com/bid/93165nvd
- security.gentoo.org/glsa/201701-03nvd
News mentions
0No linked articles in our index yet.