CVE-2019-14866: In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives
CVE-2019-14866 is a high-severity flaw (CVSS 7.3) affecting cpio, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions the attacker did not have or in paths he did not have access to. Extracting those archives from a high-privilege user without carefully reviewing them may lead to the compromise of the system.
Why this priority
- High severity
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.3 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.7% (top 47%) |
| CISA exploited list | No |
| Weakness | CWE-20 |
| Published | 2020-01-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-14866?
cpio: upgrade to 2.13; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-14866 being exploited?
CVE-2019-14866 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-14866 affect?
CVE-2019-14866 affects cpio, enterprise linux. Severity is high (CVSS 7.3). In all versions of cpio before 2.13 does not properly validate input files when generating TAR archives. When cpio is used to create TAR archives from paths an attacker can write to, the resulting archive may contain files with permissions
How urgent is CVE-2019-14866?
Priority 49/100. High severity; Public exploit reference; On your watchlist
Related CVEs
- CVE-2015-1197 LOW 1.9 DOWNGRADE cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a
- CVE-2023-7207 MEDIUM 4.9 DOWNGRADE Debian's cpio contains a path traversal vulnerability
- CVE-2021-38185 HIGH 7.8 UPGRADE GNU cpio through 2.13 allows attackers to execute arbitrary code via a crafted pattern file, because of a dstr
- CVE-2016-2037 MEDIUM 6.5 DOWNGRADE MITIGATE The cpio_safer_name_suffix function in util.c in cpio 2.11 allows remote attackers to cause a denial of servic
- CVE-2014-9112 MEDIUM 5.0 DOWNGRADE MITIGATE Heap-based buffer overflow in the process_copy_in function in GNU Cpio 2.11 allows remote attackers to cause a