CVE-2026-5704
Tar: tar: hidden file injection via crafted archives
Reported by redhat · Published April 6, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tar | errata.rockylinux.org | 1.35-13.el10, 1.34-13.el9, 1.30-13.el8 |
| tar-debugsource | errata.rockylinux.org | 1.35-13.el10, 1.34-13.el9, 1.30-13.el8 |
| gnutar | Chainguard | 1.35-r9 |
| tar-debuginfo | errata.rockylinux.org | 1.35-13.el10, 1.34-13.el9, 1.30-13.el8 |
| gnutar | Wolfi | 1.35-r9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 2:1.35-13.el10_2 |
| Red Hat | Red Hat Enterprise Linux 8 | 2:1.30-13.el8_10 |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.34-13.el9_8 |
| Red Hat | Red Hat Discovery 2 | 1788205779 |
| Red Hat | Red Hat Hardened Images | 1.35-10.hum1 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880445 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880464 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880456 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788765051 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880581 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880581 |
| Red Hat | Red Hat Discovery 2 | 1788205779 |
| chainguard | gnutar | 0 |
| Red Hat | Red Hat Update Infrastructure 5 | 1788880445 |
| Red Hat | Red Hat Hardened Images | 1.35-10.hum1 |
| wolfi | gnutar | 0 |
| Red Hat | Red Hat Enterprise Linux 9 | 2:1.34-13.el9_8 |
…and 7 more
Timeline
- Apr 6, 2026 CVE Published
- Apr 7, 2026 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (14 in total, the first dated here)
- Jun 19, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (14 in total, the first dated here)
- Nov 5, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-5704
vulnetix vdb fixes CVE-2026-5704
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-2026-5704/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2026:61581 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:61586 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:61783 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66018 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:66514 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:70390 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2455360 issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/04/11/10 url
- http://www.openwall.com/lists/oss-security/2026/04/11/11 url
- http://www.openwall.com/lists/oss-security/2026/04/12/2 url