CVE-2019-14866
In all versions of cpio before 2.13 does not properly validate input files when generating TAR...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
6.7
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.
- Record
CVE-2019-14866- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2019-5982
6.7
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.
- Record
EUVD-2019-5982- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g3pr-277r-xcx7
7.3
In all versions of cpio before 2.13 does not properly validate input files when generating TAR...
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.
- Record
GHSA-g3pr-277r-xcx7- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
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 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.
- Record
CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.9 Medium
AV:L/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-14866
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 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.
- Record
ALPINE-CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSVBELL-CVE-2019-14866
7.3
CVE-2019-14866 does not affect BellSoft software
- Record
BELL-CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 14 moreShow less
OSV
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 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.
- Record
CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-14866
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 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.
- Record
DEBIAN-CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2020:3908
6.7
Red Hat Security Advisory: cpio security update
- Record
RHSA-2020:3908- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:1582
6.7
Red Hat Security Advisory: cpio security update
- Record
RHSA-2021:1582- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2022:0073
6.7
Red Hat Security Advisory: cpio security update
- Record
RHSA-2022:0073- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2021:1582
6.7
Moderate: cpio security update
The cpio packages provide the GNU cpio utility for creating and extracting archives, or copying files from one place to another.
Security Fix(es):
- cpio: improper input validation when writing tar header fields leads to unexpected tar generation (CVE-2019-14866)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 8.4 Release Notes linked from the References section.
- Record
RLSA-2021:1582- CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-14866
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 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.
- Record
UBUNTU-CVE-2019-14866- CVSS 3.1
- 7.3 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 6.7 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0326 No score
Updated cpio packages fix security vulnerabilities
in cpio 2.11, when using the --no-absolute-filenames option, allows local users to write to arbitrary files via a symlink attack on a file in an archive (CVE-2015-1197).
Thomas Habets discovered that GNU cpio incorrectly handled certain inputs. An attacker could possibly use this issue to privilege escalation (CVE-2019-14866).
cpio has been updated to 2.13 that fixes theese issues.
- Record
MGASA-2019-0326- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2593-1 No score
Security update for cpio
This update for cpio fixes the following issues:
- CVE-2019-14866: Fixed an improper validation of the values written in the header of a TAR file through the to_oct() function which could have led to unexpected TAR generation (bsc#1155199).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2593-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2019:2596-1 No score
Security update for cpio
This update for cpio fixes the following issues:
- CVE-2019-14866: Fixed an improper validation of the values written in the header of a TAR file through the to_oct() function which could have led to unexpected TAR generation (bsc#1155199).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2019:2596-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10697-1 No score
cpio-2.13-3.3 on GA media
These are all security issues fixed in the cpio-2.13-3.3 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10697-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:3059-1 No score
Security update for cpio
This update for cpio fixes the following issues:
- CVE-2019-14866: Fixed an improper validation of the values written in the header of a TAR file through the to_oct() function which could have led to unexpected TAR generation (bsc#1155199).
- Record
SUSE-SU-2019:3059-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:3064-1 No score
Security update for cpio
This update for cpio fixes the following issues:
- CVE-2019-14866: Fixed an improper validation of the values written in the header of a TAR file through the to_oct() function which could have led to unexpected TAR generation (bsc#1155199).
- Record
SUSE-SU-2019:3064-1- Updated
- 2026-11-02
OSVUSN-4176-1 No score
cpio vulnerability
Thomas Habets discovered that GNU cpio incorrectly handled certain inputs. An attacker could possibly use this issue to privilege escalation.
- Record
USN-4176-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cpioAlpine:v3.11 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.12 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.13 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.14 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.15 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.16 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.17 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.18 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.19 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.20 |
before 2.13-r0 | 2.13-r0 |
Show 38 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cpioAlpine:v3.21 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.22 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.23 |
before 2.13-r0 | 2.13-r0 |
cpioAlpine:v3.24 |
before 2.13-r0 | 2.13-r0 |
cpioDebian:12 |
before 2.13+dfsg-1 | 2.13+dfsg-1 |
cpioDebian:13 |
before 2.13+dfsg-1 | 2.13+dfsg-1 |
cpioDebian:14 |
before 2.13+dfsg-1 | 2.13+dfsg-1 |
cpioDebian:8 |
before 2.11+dfsg-4.1+deb8u2, plus listed versions 2.11+dfsg-4.12.11+dfsg-4.1+deb8u1 |
2.11+dfsg-4.1+deb8u2 |
cpioDebian:10 |
before 2.12+dfsg-9+deb10u1, plus listed versions 2.12+dfsg-9 |
2.12+dfsg-9+deb10u1 |
cpioMageia:7 |
before 2.13-1.mga7 | 2.13-1.mga7 |
cpioRed Hat:enterprise_linux:7::client |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpio-debuginfoRed Hat:enterprise_linux:7::client |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpioRed Hat:enterprise_linux:7::computenode |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpio-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpioRed Hat:enterprise_linux:7::server |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpio-debuginfoRed Hat:enterprise_linux:7::server |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpioRed Hat:enterprise_linux:7::workstation |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpio-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:2.11-28.el7 | 0:2.11-28.el7 |
cpioRed Hat:enterprise_linux:8::baseos |
before 0:2.12-10.el8 | 0:2.12-10.el8 |
cpio-debuginfoRed Hat:enterprise_linux:8::baseos |
before 0:2.12-10.el8 | 0:2.12-10.el8 |
cpio-debugsourceRed Hat:enterprise_linux:8::baseos |
before 0:2.12-10.el8 | 0:2.12-10.el8 |
cpioRed Hat:rhel_eus:8.2::baseos |
before 0:2.12-8.el8_2.1 | 0:2.12-8.el8_2.1 |
cpio-debuginfoRed Hat:rhel_eus:8.2::baseos |
before 0:2.12-8.el8_2.1 | 0:2.12-8.el8_2.1 |
cpio-debugsourceRed Hat:rhel_eus:8.2::baseos |
before 0:2.12-8.el8_2.1 | 0:2.12-8.el8_2.1 |
cpioRocky Linux:8 |
before 0:2.12-10.el8 | 0:2.12-10.el8 |
cpioSUSE:Linux Enterprise Module for Basesystem 15 |
before 2.12-3.3.1 | 2.12-3.3.1 |
cpioSUSE:Linux Enterprise Module for Basesystem 15 SP1 |
before 2.12-3.3.1 | 2.12-3.3.1 |
cpioSUSE:Linux Enterprise Desktop 12 SP4 |
before 2.11-36.6.1 | 2.11-36.6.1 |
cpioSUSE:Linux Enterprise Server 12 SP4 |
before 2.11-36.6.1 | 2.11-36.6.1 |
cpioSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.11-36.6.1 | 2.11-36.6.1 |
cpioSUSE:Linux Enterprise Server 12 SP5 |
before 2.11-36.6.1 | 2.11-36.6.1 |
cpioSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.11-36.6.1 | 2.11-36.6.1 |
cpioUbuntu:Pro:14.04:LTS |
before 2.11+dfsg-1ubuntu1.2+esm1, plus listed versions 2.11+dfsg-1ubuntu12.11+dfsg-1ubuntu1.12.11+dfsg-1ubuntu1.2 |
2.11+dfsg-1ubuntu1.2+esm1 |
cpioUbuntu:16.04:LTS |
before 2.11+dfsg-5ubuntu1.1, plus listed versions 2.11+dfsg-4.1ubuntu12.11+dfsg-5ubuntu1 |
2.11+dfsg-5ubuntu1.1 |
cpioUbuntu:18.04:LTS |
before 2.12+dfsg-6ubuntu0.18.04.1, plus listed versions 2.11+dfsg-62.12+dfsg-6 |
2.12+dfsg-6ubuntu0.18.04.1 |
cpioopenSUSE:Leap 15.0 |
before 2.12-lp150.2.3.1 | 2.12-lp150.2.3.1 |
cpioopenSUSE:Leap 15.1 |
before 2.12-lp151.3.3.1 | 2.12-lp151.3.3.1 |
cpioopenSUSE:Tumbleweed |
before 2.13-3.3 | 2.13-3.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-14866 is a medium vulnerability (CVSS 6.7) in Gnu Cpio, published November 2, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.69%, the 52nd percentile. Fixed in cpio 2.13-r0.
References
bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14866
lists.gnu.org/archive/html/bug-cpio/2019-08/msg00003.html
lists.gnu.org/archive/html/bug-cpio/2019-11/msg00000.html
lists.debian.org/debian-lts-announce/2023/06/msg00007.html
nvd.nist.gov/vuln/detail/CVE-2019-14866
access.redhat.com/errata/RHSA-2020:3908
Show 30 moreShow less
access.redhat.com/errata/RHSA-2021:1582
access.redhat.com/errata/RHSA-2022:0073
access.redhat.com/security/cve/CVE-2019-14866
bugzilla.redhat.com/show_bug.cgi?id=1765511
github.com/advisories/GHSA-g3pr-277r-xcx7
security.alpinelinux.org/vuln/CVE-2019-14866
docs.bell-sw.com/security/cves/CVE-2019-14866
security-tracker.debian.org/tracker/CVE-2019-14866
advisories.mageia.org/MGASA-2019-0326.html
bugs.mageia.org/show_bug.cgi?id=25680
usn.ubuntu.com/4176-1
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index
security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_3908.json
cve.org/CVERecord?id=CVE-2019-14866
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes
bugzilla.redhat.com/show_bug.cgi?id=1487673
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1582.json
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0073.json
errata.rockylinux.org/RLSA-2021:1582
suse.com/support/update/announcement/2019/suse-su-20193059-1
bugzilla.suse.com/1155199
suse.com/security/cve/CVE-2019-14866
suse.com/support/update/announcement/2019/suse-su-20193064-1
ubuntu.com/security/CVE-2019-14866
ubuntu.com/security/notices/USN-4176-1
lists.opensuse.org/archives/list/[email protected]/thread/S6XCUOVCXNQ6F2SKISA7LWT5WFS5W7MT
lists.opensuse.org/archives/list/[email protected]/thread/GAJR4QB4A2YQ5MYPKKBZWQZEHXTFQ2KX
suse.com/security/cve/CVE-2015-1197
suse.com/security/cve/CVE-2021-38185