CVE-2016-5418
libarchive: Archive Entry with type 1 (hardlink), but has a non-zero data size file overwrite
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · September 12, 2016
Updated · June 27, 2026
Description
A flaw was found in the way libarchive handled hardlink archive entries of non-zero size. Combined with flaws in libarchive's file system sandboxing, this issue could cause an application using libarchive to overwrite arbitrary files with arbitrary data from the archive.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 · 4.6AV:N/AC:H/Au:S/C:P/I:P/A:P
CWE-59 · Improper Link Resolution Before File Access ('Link Following')