CVE-2016-5418: The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.6% (FIRST EPSS); higher than 91.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libarchive (Debian:12) 3.2.1-4; libarchive (Debian:7) 3.0.4-3+wheezy4; libarchive (Debian:8) 3.1.2-11+deb8u3.
Low priority for now. Upgrade to libarchive (Debian:12) 3.2.1-4; libarchive (Debian:7) 3.0.4-3+wheezy4; libarchive (Debian:8) 3.1.2-11+deb8u3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 21, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.6% · 91th percentile
- CWE
- CWE-19
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libarchive | libarchive | cpe:2.3:a:libarchive:libarchive |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux hpc node | cpe:2.3:o:redhat:enterprise_linux_hpc_node |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| oracle | linux | cpe:2.3:o:oracle:linux |
| redhat | openshift | cpe:2.3:a:redhat:openshift |
| redhat | enterprise linux hpc node eus | cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- libarchive libarchiveup to 3.2.0 inclusive
- oracle linux6
- oracle linux7
- redhat enterprise linux desktop6.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux hpc node6.0
- redhat enterprise linux hpc node7.0
- redhat enterprise linux hpc node eus7.2
+8 more rows
- redhat enterprise linux server6.0
- redhat enterprise linux server7.0
- redhat enterprise linux server aus7.2
- redhat enterprise linux server eus7.2
- redhat enterprise linux workstation6.0
- redhat enterprise linux workstation7.0
- redhat openshift3.1
- redhat openshift3.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libarchive | before 3.2.1-4 | 3.2.1-4 |
| Debian:7 | libarchive | before 3.0.4-3+wheezy4 | 3.0.4-3+wheezy4 |
| Debian:8 | libarchive | before 3.1.2-11+deb8u3 | 3.1.2-11+deb8u3 |
| openSUSE:Tumbleweed | bsdtar | before 3.2.2-2.1 | 3.2.2-2.1 |
| Red Hat:enterprise_linux:6::client | libarchive | before 0:2.8.3-7.el6_8 | 0:2.8.3-7.el6_8 |
| Red Hat:enterprise_linux:6::client | libarchive-debuginfo | before 0:2.8.3-7.el6_8 | 0:2.8.3-7.el6_8 |
| Red Hat:enterprise_linux:6::client | libarchive-devel | before 0:2.8.3-7.el6_8 | 0:2.8.3-7.el6_8 |
| Red Hat:enterprise_linux:7::client | bsdcpio | before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
| Red Hat:enterprise_linux:7::client | bsdtar | before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
| Red Hat:enterprise_linux:7::client | libarchive | before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
| Red Hat:enterprise_linux:7::client | libarchive-debuginfo | before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
| Red Hat:enterprise_linux:7::client | libarchive-devel | before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
| Red Hat:openshift:3.1::el7 | atomic-openshift | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-clients | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-clients-redistributable | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-dockerregistry | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-master | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-node | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-pod | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-recycle | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | atomic-openshift-sdn-ovs | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.1::el7 | tuned-profiles-atomic-openshift-node | before 0:3.1.1.7-1.git.0.65f396b.el7aos | 0:3.1.1.7-1.git.0.65f396b.el7aos |
| Red Hat:openshift:3.2::el7 | atomic-openshift | before 0:3.2.1.15-1.git.0.d84be7f.el7 | 0:3.2.1.15-1.git.0.d84be7f.el7 |
| Red Hat:openshift:3.2::el7 | atomic-openshift-clients | before 0:3.2.1.15-1.git.0.d84be7f.el7 | 0:3.2.1.15-1.git.0.d84be7f.el7 |
+18
Same product
libarchive: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-26256Libarchive Remote Code Execution Vulnerability57Plan
- CVE-2022-36227In libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if…40Plan
- CVE-2016-1541Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows…38Monitor
Published before and after this one in the same product
- ← EarlierCVE-2016-4302Sep 21, 2016 · Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote…32Monitor
- ← EarlierCVE-2016-4809Sep 21, 2016 · The archive_read_format_cpio_read_header function in archive_read_support_format_cpio.c in libarchive before 3.2.1 allows remote attackers…31Monitor
- Later →CVE-2016-5844Sep 21, 2016 · Integer overflow in the ISO parser in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) via…27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libarchive | 3.2.1-4 · Debian:12 | Package registry (OSV) |
| opensuse:bsdtar | 3.2.2-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:atomic-openshift | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-clients | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-clients-redistributable | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-dockerregistry | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-master | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-node | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:atomic-openshift-pod | 0:3.1.1.7-1.git.0.65f396b.el7aos · Red Hat:openshift:3.1::el7 | Package registry (OSV) |
| red hat:bsdcpio | 0:3.1.2-10.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:bsdtar | 0:3.1.2-10.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libarchive | 0:3.1.2-10.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libarchive-debuginfo | 0:3.1.2-10.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libarchive-devel | 0:3.1.2-10.el7_2 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:libarchive | 3.1.2-25.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-19 · Data Processing ErrorsCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- rhn.redhat.com/errata/RHSA-2016-1850.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- www.securityfocus.com/bid/93165
- access.redhat.com/errata/RHSA-2016:1852
- access.redhat.com/errata/RHSA-2016:1853
- bugzilla.redhat.com/show_bug.cgi?id=1362601
- github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9
- security.gentoo.org/glsa/201701-03
Vendor advisories and official records. Exploit/PoC links are deliberately left out.