CVE-2026-5704: Tar: tar: hidden file injection via crafted archives
Vulnerability summary
CVE-2026-5704 is a medium (CVSS 5.5) vulnerability in gnu tar. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 46.3% of scored vulnerabilities. 3 public exploits are recorded.
Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 5Timeline
- 06-04-2026PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · Red hatEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 0.45% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (bugzilla.redhat.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Exploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse14 products
- tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 1.34-150000.3.42.1
- tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 1.34-150000.3.42.1
- tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 1.34-150000.3.42.1
- tar&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 1.34-150000.3.42.1
- tar&distro=SUSE Linux Enterprise Micro 5.3< 1.34-150000.3.42.1
Chainguard3 products
- gnutar< 1.35-r9
- gnutar-docAll versions (No fix recorded) | < 1.35-r9
- gnutar-rmtAll versions (No fix recorded) | < 1.35-r9
Redhat3 products
- enterprise_linuxEOL6.0 | 7.0 | 8.0 | 9.0 | 10.0
- hardened_imagesna
- tar< 0:1.35-10.hum1 | < 2:1.35-10.hum1
Wolfi3 products
- gnutar< 1.35-r9
- gnutar-docAll versions (No fix recorded) | < 1.35-r9
- gnutar-rmtAll versions (No fix recorded) | < 1.35-r9
Debian1 product
- tarAll versions (No fix recorded)
Gnu1 product
- tarna
Mageia1 product
- tar< 1.35-4.mga9
Opensuse1 product
- tar&distro=openSUSE Tumbleweed< 1.35-8.1
Ubuntu1 product
- tar< 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
9 vendors · 28 products
References
32 links- bugzilla.redhat.com/show_bug.cgi?id=2455360Issue TrackingX Refsource REDHATREPORTExploitThird Party Advisory
Show all 32 references
- images.redhat.comARTICLE