
CVE catalog
CVE-2016-5418
libarchive: CVE-2016-5418
- Severity
- High · CVSS 7.5
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.67% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | fixed |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | fixed |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Ubuntu | libarchive | 14.04 | 3.1.2-5ubuntu1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.3 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.4 | fixed |
| Ubuntu | libarchive | 16.04 | 3.1.2-11build1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.3 | fixed |
| Ubuntu | libarchive | 14.04 | 3.1.2-5ubuntu1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.3 | vulnerable |
| Ubuntu | libarchive | 14.04 | 3.1.2-7ubuntu2.4 | fixed |
| Ubuntu | libarchive | 16.04 | 3.1.2-11build1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.1 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.2 | vulnerable |
| Ubuntu | libarchive | 16.04 | 3.1.2-11ubuntu0.16.04.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.2.1-4 | not yet assigned | Not reported | [837714] |
| Debian | libarchive | source | forky | 3.2.1-4 | not yet assigned | Not reported | [837714] |
| Debian | libarchive | source | trixie | 3.2.1-4 | not yet assigned | Not reported | [837714] |
| Debian | libarchive | source | bookworm | 3.2.1-4 | not yet assigned | Not reported | [837714] |
| Ubuntu | libarchive | deb | 14.04 | 3.1.2-7ubuntu2.4 | Not reported | UBUNTU-CVE-2016-5418 | Not reported |
| Ubuntu | libarchive | deb | 16.04 | 3.1.2-11ubuntu0.16.04.3 | Not reported | UBUNTU-CVE-2016-5418 | Not reported |
| Ubuntu | libarchive | deb | 14.04 | 3.1.2-7ubuntu2.4 | Not reported | USN-3225-1 | Not reported |
| Ubuntu | libarchive | deb | 16.04 | 3.1.2-11ubuntu0.16.04.3 | Not reported | USN-3225-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.2.1-4dsa · libarchive · debian · bookworm; dsa · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.2.1-4dsa · libarchive · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2016_1844.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-5418]
- [https://osv.dev/vulnerability/DLA-657-1]
- [https://osv.dev/vulnerability/DSA-3677-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-5418]
- [https://osv.dev/vulnerability/USN-3225-1]
- [https://security-tracker.debian.org/tracker/CVE-2016-5418]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-5418.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]