# CVE-2026-5704: tar: A flaw was found in tar

CVE-2026-5704 is fixed in 2 products on 1 platform, first by tar 1.29b-2ubuntu0.4+esm4, released April 6, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-5704
- Priority: Routine
- CVSS: 5.6 (Medium)
- EPSS: 0.0047
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 6, 2026

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | tar RHEL 10 | 1.35-13.el10_2 | [RHSA-2026:61586](https://patchblox.com/security/data/fix/linux/rhsa-2026-61586.md) | Jul 31, 2026 |
| Linux | tar RHEL 8 | 2:1.30-13.el8_10 | [RHSA-2026:70390](https://patchblox.com/security/data/fix/linux/rhsa-2026-70390.md) | Sep 23, 2026 |
| Linux | tar RHEL 9 | 2:1.34-13.el9_8 | [RHSA-2026:61581](https://patchblox.com/security/data/fix/linux/rhsa-2026-61581.md) | Sep 13, 2026 |
| Linux | tar Ubuntu 18.04.6 LTS (bionic) | 1.29b-2ubuntu0.4+esm4 | [tar 1.29b-2ubuntu0.4+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-tar-1.29b-2ubuntu0.4-esm4.md) | Apr 6, 2026 |
| Linux | tar Ubuntu 20.04 LTS (focal) | 1.30+dfsg-7ubuntu0.20.04.4+esm3 | [tar 1.30+dfsg-7ubuntu0.20.04.4+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-tar-1.30-dfsg-7ubuntu0.20.04.4-esm3.md) | Apr 6, 2026 |
| Linux | tar Ubuntu 22.04.1 LTS (jammy) | 1.34+dfsg-1ubuntu0.1.22.04.6 | [tar 1.34+dfsg-1ubuntu0.1.22.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-tar-1.34-dfsg-1ubuntu0.1.22.04.6.md) | Apr 6, 2026 |
| Linux | tar Ubuntu 24.04.5 LTS (noble) | 1.35+dfsg-3ubuntu0.4 | [tar 1.35+dfsg-3ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-tar-1.35-dfsg-3ubuntu0.4.md) | Apr 6, 2026 |
| Linux | tar Ubuntu 26.04.1 LTS (resolute) | 1.35+dfsg-4ubuntu0.4 | [tar 1.35+dfsg-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-tar-1.35-dfsg-4ubuntu0.4.md) | Apr 6, 2026 |
| Linux | tar almalinux 10 | 2:1.35-13.el10_2 | [ALSA-2026:61586](https://patchblox.com/security/data/fix/linux/alsa-2026-61586.md) | Aug 31, 2026 |
| Linux | tar almalinux 8 | 2:1.30-13.el8_10 | [ALSA-2026:70390](https://patchblox.com/security/data/fix/linux/alsa-2026-70390.md) | Sep 22, 2026 |
| Linux | tar almalinux 9 | 2:1.34-13.el9_8 | [ALSA-2026:61581](https://patchblox.com/security/data/fix/linux/alsa-2026-61581.md) | Aug 31, 2026 |
| Linux | tar ol 10 | 2:1.35-13.el10_2 | [ELSA-2026-61586-0](https://patchblox.com/security/data/fix/linux/elsa-2026-61586-0.md) | Sep 1, 2026 |
| Linux | tar ol 8 | 2:1.30-13.el8_10 | [ELSA-2026-70390](https://patchblox.com/security/data/fix/linux/elsa-2026-70390.md) | Sep 23, 2026 |
| Linux | tar ol 9 | 2:1.34-13.el9_8 | [ELSA-2026-61581-0](https://patchblox.com/security/data/fix/linux/elsa-2026-61581-0.md) | Sep 1, 2026 |
| Linux | tar opensuse-leap 16.0 | 1.35-160000.4.1 | [OPENSUSE-SU-2026:21070-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21070-1.md) | Jun 26, 2026 |
| Linux | tar rocky 10 | 2:1.35-13.el10_2 | [RLSA-2026:61586](https://patchblox.com/security/data/fix/linux/rlsa-2026-61586.md) | Sep 11, 2026 |
| Linux | tar rocky 8 | 2:1.30-13.el8_10 | [RLSA-2026:70390](https://patchblox.com/security/data/fix/linux/rlsa-2026-70390.md) | Sep 24, 2026 |
| Linux | tar rocky 9 | 2:1.34-13.el9_8 | [RLSA-2026:61581](https://patchblox.com/security/data/fix/linux/rlsa-2026-61581.md) | Sep 1, 2026 |
| Linux | tar sles 15.6 | 1.34-150000.3.42.1 | [SUSE-SU-2026:2714-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2714-1.md) | Jun 30, 2026 |
| Linux | tar sles 15.7 | 1.34-150000.3.42.1 | [SUSE-SU-2026:2714-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-2714-1.md) | Jun 30, 2026 |
| Linux | tar sles 16.0 | 1.35-160000.4.1 | [SUSE-SU-2026:22377-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22377-1.md) | Jun 26, 2026 |
| Linux | tar-scripts Ubuntu 18.04.6 LTS (bionic) | 1.29b-2ubuntu0.4+esm4 | [tar-scripts 1.29b-2ubuntu0.4+esm4](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-tar-scripts-1.29b-2ubuntu0.4-esm4.md) | Apr 6, 2026 |
| Linux | tar-scripts Ubuntu 20.04 LTS (focal) | 1.30+dfsg-7ubuntu0.20.04.4+esm3 | [tar-scripts 1.30+dfsg-7ubuntu0.20.04.4+esm3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-tar-scripts-1.30-dfsg-7ubuntu0.20.04.4-esm3.md) | Apr 6, 2026 |
| Linux | tar-scripts Ubuntu 22.04.1 LTS (jammy) | 1.34+dfsg-1ubuntu0.1.22.04.6 | [tar-scripts 1.34+dfsg-1ubuntu0.1.22.04.6](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-tar-scripts-1.34-dfsg-1ubuntu0.1.22.04.6.md) | Apr 6, 2026 |
| Linux | tar-scripts Ubuntu 24.04.5 LTS (noble) | 1.35+dfsg-3ubuntu0.4 | [tar-scripts 1.35+dfsg-3ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-tar-scripts-1.35-dfsg-3ubuntu0.4.md) | Apr 6, 2026 |
| Linux | tar-scripts Ubuntu 26.04.1 LTS (resolute) | 1.35+dfsg-4ubuntu0.4 | [tar-scripts 1.35+dfsg-4ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-tar-scripts-1.35-dfsg-4ubuntu0.4.md) | Apr 6, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
