# CVE-2026-5704: Tar: tar: hidden file injection via crafted archives

- Priority: **Routine**
- Reason: Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-06 · Modified: 2026-11-05
- Aliases: MGASA-2026-0168, SUSE-SU-2026:2714-1, RHSA-2026:66514, UBUNTU-CVE-2026-5704, USN-8477-2, USN-8477-3, DEBIAN-CVE-2026-5704, CGA-582v-r7g5-w5rq, CGA-chwp-7r38-xhv7, CGA-g8qv-pmwg-5599, CGA-j5p9-7g57-2g65, CGA-qwvh-xqh3-wv2c, CGA-x5hq-xw39-hh38, openSUSE-SU-2026:11125-1, USN-8477-1
- Record: https://cvemate.com/vulnerability/CVE-2026-5704 · JSON: https://cvemate.com/vulnerability/CVE-2026-5704/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.53%, percentile 46.351%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference)

## Affected (first 20 of 28)

- chainguard gnutar (Chainguard): \< 1.35-r9
- chainguard gnutar-doc (Chainguard): All versions (No fix recorded) \| \< 1.35-r9
- chainguard gnutar-rmt (Chainguard): All versions (No fix recorded) \| \< 1.35-r9
- wolfi gnutar (Wolfi): \< 1.35-r9
- wolfi gnutar-doc (Wolfi): All versions (No fix recorded) \| \< 1.35-r9
- wolfi gnutar-rmt (Wolfi): All versions (No fix recorded) \| \< 1.35-r9
- debian tar (Debian): All versions (No fix recorded)
- ubuntu tar (Ubuntu): \< 1.27.1-1ubuntu0.1+esm5 \| \< 1.28-2.1ubuntu0.2+esm4 \| \< 1.29b-2ubuntu0.4+esm2 \| \< 1.30+dfsg-7ubuntu0.20.04.4+esm1 \| \< 1.34+dfsg-1ubuntu0.1.22.04.3 \| \< 1.35+dfsg-3ubuntu0.1 \| \< 1.35+dfsg-4ubuntu0.1 \| \< 1.27.1-1ubuntu0.1+esm6 \| \< 1.28-2.1ubuntu0.2+esm5 \| \< 1.29b-2ubuntu0.4+esm3 \| \< 1.30+dfsg-7ubuntu0.20.04.4+esm2 \| \< 1.34+dfsg-1ubuntu0.1.22.04.5 \| \< 1.35+dfsg-3ubuntu0.3 \| \< 1.35+dfsg-4ubuntu0.3 \| \< 1.27.1-1ubuntu0.1+esm7 \| \< 1.28-2.1ubuntu0.2+esm6 \| \< 1.29b-2ubuntu0.4+esm4 \| \< 1.30+dfsg-7ubuntu0.20.04.4+esm3 \| \< 1.34+dfsg-1ubuntu0.1.22.04.6 \| \< 1.35+dfsg-3ubuntu0.4 \| All versions (No fix recorded) \| \< 1.35+dfsg-4ubuntu0.4
- gnu tar: na
- mageia tar (Mageia): \< 1.35-4.mga9
- redhat enterprise\_linux: 6.0 \| 7.0 \| 8.0 \| 9.0 \| 10.0
- redhat hardened\_images: na
- opensuse tar&distro=openSUSE Tumbleweed (openSUSE): \< 1.35-8.1
- redhat tar (Red Hat): \< 0:1.35-10.hum1 \| \< 2:1.35-10.hum1
- suse tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS (SUSE Linux Enterprise): \< 1.34-150000.3.42.1
- suse tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS (SUSE Linux Enterprise): \< 1.34-150000.3.42.1
- suse tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS (SUSE Linux Enterprise): \< 1.34-150000.3.42.1
- suse tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS (SUSE Linux Enterprise): \< 1.34-150000.3.42.1
- suse tar&distro=SUSE Linux Enterprise Micro 5.3 (SUSE Linux Enterprise): \< 1.34-150000.3.42.1
- suse tar&distro=SUSE Linux Enterprise Micro 5.4 (SUSE Linux Enterprise): \< 1.34-150000.3.42.1

## References (first 20 of 32)

- <https://access.redhat.com/errata/RHSA-2026:61581>
- <https://access.redhat.com/errata/RHSA-2026:61586>
- <https://access.redhat.com/errata/RHSA-2026:61783>
- <https://access.redhat.com/errata/RHSA-2026:66018>
- <https://access.redhat.com/errata/RHSA-2026:66514>
- <https://access.redhat.com/errata/RHSA-2026:70390>
- <https://access.redhat.com/security/cve/CVE-2026-5704>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2455360>
- <http://www.openwall.com/lists/oss-security/2026/04/11/10>
- <http://www.openwall.com/lists/oss-security/2026/04/11/11>
- <http://www.openwall.com/lists/oss-security/2026/04/12/2>
- <https://advisories.mageia.org/MGASA-2026-0168.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35350>
- <https://www.openwall.com/lists/oss-security/2026/04/11/10>
- <https://lists.gnu.org/archive/html/bug-tar/2026-03/msg00007.html>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262714-1/>
- <https://bugzilla.suse.com/1261900>
- <https://bugzilla.suse.com/1265450>
- <https://bugzilla.suse.com/1267189>
- <https://www.suse.com/security/cve/CVE-2026-5704>

---

Data as of 2026-12-05T03:12:38.229Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
