CVE-2026-5704
Fixed in a distro release EPSS <1%CVSS 5.0
A flaw was found in tar. A remote attacker could exploit this vulnerability by crafting a malicious archive, leading to hidden file injection with fully attacker-controlled content. This bypasses pre-extraction inspection mechanisms, potentially allowing an attacker to introduce malicious files onto a system without detection.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Discovery 2, Red Hat Hardened Images, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | tar | 2:1.35-13.el10_2 |
| AlmaLinux 8 | tar | 2:1.30-13.el8_10 |
| AlmaLinux 9 | tar | 2:1.34-13.el9_8 |
| Chainguard | gnutar | 1.35-r9 |
| Chainguard | gnutar-doc | no fix |
| Chainguard | gnutar-rmt | no fix |
| Debian 12 | tar | no fix |
| Debian 13 | tar | no fix |
| Debian 14 | tar | no fix |
| Red Hat Enterprise Linux 10.2 | tar | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 10.2 | tar-debuginfo | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 10.2 | tar-debugsource | 2:1.35-13.el10_2 |
| Red Hat Enterprise Linux 8 | tar | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 8 | tar-debuginfo | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 8 | tar-debugsource | 2:1.30-13.el8_10 |
| Red Hat Enterprise Linux 9 | tar | 2:1.34-13.el9_8 |
| Red Hat Enterprise Linux 9 | tar-debuginfo | 2:1.34-13.el9_8 |
| Red Hat Enterprise Linux 9 | tar-debugsource | 2:1.34-13.el9_8 |
| Red Hat hummingbird 1 | tar | 0:1.35-10.hum1 |
| Rocky Linux 10 | tar | 2:1.35-13.el10_2 |
| Rocky Linux 8 | tar | 2:1.30-13.el8_10 |
| Rocky Linux 9 | tar | 2:1.34-13.el9_8 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Micro 5.3 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Micro 5.4 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Micro 5.5 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server 16.0 | tar | 1.35-160000.4.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | tar | 1.34-150000.3.42.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | tar | 1.35-160000.4.1 |
| SUSE Linux Micro 6.2 | tar | 1.35-160000.4.1 |
| Ubuntu 22.04 LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.3 |
| Ubuntu 22.04 LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.5 |
| Ubuntu 22.04 LTS | tar | 1.34+dfsg-1ubuntu0.1.22.04.6 |
| Ubuntu 24.04 LTS | tar | 1.35+dfsg-3ubuntu0.4 |
| Ubuntu 24.04 LTS | tar | 1.35+dfsg-3ubuntu0.3 |
| Ubuntu 24.04 LTS | tar | 1.35+dfsg-3ubuntu0.1 |
| Ubuntu 25.10 | tar | no fix |
| Ubuntu 26.04 LTS | tar | 1.35+dfsg-4ubuntu0.3 |
| Ubuntu 26.04 LTS | tar | 1.35+dfsg-4ubuntu0.1 |
| Ubuntu 26.04 LTS | tar | 1.35+dfsg-4ubuntu0.4 |
| Ubuntu Pro 14.04 LTS | tar | 1.27.1-1ubuntu0.1+esm5 |
| Ubuntu Pro 14.04 LTS | tar | 1.27.1-1ubuntu0.1+esm6 |
| Ubuntu Pro 14.04 LTS | tar | 1.27.1-1ubuntu0.1+esm7 |
| Ubuntu Pro 16.04 LTS | tar | 1.28-2.1ubuntu0.2+esm6 |
| Ubuntu Pro 16.04 LTS | tar | 1.28-2.1ubuntu0.2+esm5 |
| Ubuntu Pro 16.04 LTS | tar | 1.28-2.1ubuntu0.2+esm4 |
| Ubuntu Pro 18.04 LTS | tar | 1.29b-2ubuntu0.4+esm2 |
| Ubuntu Pro 18.04 LTS | tar | 1.29b-2ubuntu0.4+esm4 |
| Ubuntu Pro 18.04 LTS | tar | 1.29b-2ubuntu0.4+esm3 |
| Ubuntu Pro 20.04 LTS | tar | 1.30+dfsg-7ubuntu0.20.04.4+esm1 |
| Ubuntu Pro 20.04 LTS | tar | 1.30+dfsg-7ubuntu0.20.04.4+esm3 |
| Ubuntu Pro 20.04 LTS | tar | 1.30+dfsg-7ubuntu0.20.04.4+esm2 |
| Wolfi | gnutar | 1.35-r9 |
| Wolfi | gnutar-doc | no fix |
| Wolfi | gnutar-rmt | no fix |
| openSUSE Leap 16.0 | tar | 1.35-160000.4.1 |
| openSUSE Tumbleweed | tar | 1.35-8.1 |