# CVE-2016-5418

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2016-09-21 · Modified: 2024-08-06
- Aliases: MGASA-2016-0318, RHSA-2016:1852, RHSA-2016:1853, UBUNTU-CVE-2016-5418, DEBIAN-CVE-2016-5418, DLA-657-1
- Record: https://cvemate.com/vulnerability/CVE-2016-5418 · JSON: https://cvemate.com/vulnerability/CVE-2016-5418/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 4.669%, percentile 92.008%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (github, reference)

## Affected (first 20 of 32)

- debian libarchive (Debian): \< 3.2.1-4 \| \< 3.0.4-3+wheezy4
- ubuntu libarchive (Ubuntu): \< 3.1.2-7ubuntu2.4 \| \< 3.1.2-11ubuntu0.16.04.3
- libarchive libarchive: ≤ 3.2.0
- mageia libarchive (Mageia): \< 3.2.1-1.2.mga5
- oracle linux: 6 \| 7
- redhat enterprise\_linux\_desktop: 6.0 \| 7.0
- redhat enterprise\_linux\_hpc\_node: 6.0 \| 7.0
- redhat enterprise\_linux\_hpc\_node\_eus: 7.2
- redhat enterprise\_linux\_server: 6.0 \| 7.0
- redhat enterprise\_linux\_server\_aus: 7.2
- redhat enterprise\_linux\_server\_eus: 7.2
- redhat enterprise\_linux\_workstation: 6.0 \| 7.0
- redhat openshift: 3.1 \| 3.2
- redhat atomic-openshift (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-clients (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-clients-redistributable (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-dockerregistry (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-master (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-node (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7
- redhat atomic-openshift-pod (Red Hat): \< 0:3.1.1.7-1.git.0.65f396b.el7aos \| \< 0:3.2.1.15-1.git.0.d84be7f.el7

## References (first 20 of 39)

- <https://bugzilla.redhat.com/show_bug.cgi?id=1362601>
- <https://access.redhat.com/errata/RHSA-2016:1852>
- <https://access.redhat.com/errata/RHSA-2016:1853>
- <https://github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9>
- <http://rhn.redhat.com/errata/RHSA-2016-1844.html>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html>
- <https://gist.github.com/anonymous/e48209b03f1dd9625a992717e7b89c4f>
- <https://github.com/libarchive/libarchive/issues/746>
- <http://rhn.redhat.com/errata/RHSA-2016-1850.html>
- <https://security.gentoo.org/glsa/201701-03>
- <http://www.securityfocus.com/bid/93165>
- <http://www.openwall.com/lists/oss-security/2016/08/09/2>
- <https://advisories.mageia.org/MGASA-2016-0318.html>
- <https://bugs.mageia.org/show_bug.cgi?id=19351>
- <https://rhn.redhat.com/errata/RHSA-2016-1844.html>
- <https://github.com/libarchive/libarchive/issues/745>
- <https://github.com/libarchive/libarchive/issues/744>
- <https://github.com/libarchive/libarchive/issues/770>
- <https://github.com/libarchive/libarchive/issues/767>
- <https://github.com/libarchive/libarchive/issues/748>

---

Data as of 2026-12-05T03:25:43.277Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
