CVE-2019-14866
Reported by redhat · Published January 7, 2020
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| cpio | Amazon Linux | 2.11-28.amzn2 |
| cpio | gnu | 2.13 |
| cpio | Ubuntu:18.04:LTS | 2.12+dfsg-6ubuntu0.18.04.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | cpio | All cpio versions before 2.13 |
| amazon:2 | cpio | 0 |
| Red Hat | cpio | 2.13 |
| alpine | cpio | 0 |
Timeline
- Nov 2, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jul 16, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 14, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-14866
vulnetix vdb fixes CVE-2019-14866
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-14866/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart