Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | cpio | All cpio versions before 2.13 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cpio | 2.13+dfsg-1 | — |
| Debian 13 | cpio | 2.13+dfsg-1 | — |
| Debian 12 | cpio | 2.13+dfsg-1 | — |
| Debian 10 | cpio | 2.12+dfsg-9+deb10u1 | DLA-3445-1 |
| Debian 8 | cpio | 2.11+dfsg-4.1+deb8u2 | DLA-1981-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | cpio | 2.12+dfsg-6ubuntu0.18.04.1 | USN-4176-1 |
| Ubuntu 16.04 LTS | cpio | 2.11+dfsg-5ubuntu1.1 | USN-4176-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | cpio | 2.11+dfsg-1ubuntu1.2+esm1 | USN-4176-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | cpio | 2.12-10.el8 | RHSA-2021:1582 |
| RHEL 7 | cpio | 2.11-28.el7 | RHSA-2020:3908 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | cpio | 2.12-8.el8_2.1 | RHSA-2022:0073 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | cpio | 2.12-10.el8 | RLSA-2021:1582 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | cpio | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SLES 15 | cpio | 2.12-3.3.1 | SUSE-SU-2019:3059-1 |
| SLES 12 SP5 | cpio | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SLES 12 SP4 | cpio | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | cpio | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
| SLES for SAP 12 SP4 | cpio | 2.11-36.6.1 | SUSE-SU-2019:3064-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cpio | 2.13-3.3 | openSUSE-SU-2024:10697-1 |
| openSUSE Leap 15.1 | cpio | 2.12-lp151.3.3.1 | openSUSE-SU-2019:2596-1 |
| openSUSE Leap 15.0 | cpio | 2.12-lp150.2.3.1 | openSUSE-SU-2019:2593-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cpio | 2.13-r0 | — |
| Alpine v3.23 | cpio | 2.13-r0 | — |
| Alpine v3.22 | cpio | 2.13-r0 | — |
| Alpine v3.21 | cpio | 2.13-r0 | — |
| Alpine v3.20 | cpio | 2.13-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cpio | 2.13-r0 | — |
| Alpine v3.18 | cpio | 2.13-r0 | — |
| Alpine v3.17 | cpio | 2.13-r0 | — |
| Alpine v3.16 | cpio | 2.13-r0 | — |
| Alpine v3.15 | cpio | 2.13-r0 | — |
| Alpine v3.14 | cpio | 2.13-r0 | — |
| Alpine v3.13 | cpio | 2.13-r0 | — |
| Alpine v3.12 | cpio | 2.13-r0 | — |
| Alpine v3.11 | cpio | 2.13-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | cpio | 2.11-28.amzn2 | ALAS2-2020-1505 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | cpio | 2.12-10.el8 | ELSA-2021-1582 |
| Oracle Linux 7 | cpio | 2.11-28.el7 | ELSA-2020-3908 |
Advisories 19
- WID-SEC-2025-0227 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-4176-1 cpio vulnerability Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2020:3908 Red Hat Security Advisory: cpio security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-3445-1 cpio - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1981-1 cpio - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:1582 Moderate: cpio security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2019:3064-1 Security update for cpio SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2593-1 Security update for cpio SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:3059-1 Security update for cpio SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2596-1 Security update for cpio SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10697-1 cpio-2.13-3.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2025-0382 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Dec 9, 2025
- SSA-202008 SSA-202008: Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 Siemens ProductCERT · Dec 9, 2025
- RHSA-2022:0073 Red Hat Security Advisory: cpio security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- RHSA-2021:1582 Red Hat Security Advisory: cpio security update Red Hat Security Advisories (RHSA) · Nov 22, 2025
- WID-SEC-2023-1353 GNU Cpio: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 30, 2024
- ELSA-2021-1582 Moderate: cpio security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · May 25, 2021
- ALAS2-2020-1505 Moderate: cpio security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 22, 2020
- ELSA-2020-3908 Moderate: cpio security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020