cve.bz

CVE-2026-5704

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-434 Unrestricted Upload of File with Dangerous Type
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 2:1.35-13.el10_2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 2:1.30-13.el8_10
  • Red Hat Red Hat Enterprise Linux 9: fixed in 2:1.34-13.el9_8
  • Red Hat Red Hat Discovery 2: fixed in 1788205779
  • Red Hat Red Hat Hardened Images: fixed in 1.35-10.hum1
  • Red Hat Red Hat Update Infrastructure 5: fixed in 1788880445
  • Red Hat Red Hat Update Infrastructure 5: fixed in 1788880464
  • Red Hat Red Hat Update Infrastructure 5: fixed in 1788880456
  • Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-5704 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5704?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5704?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5704 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-5704

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-5704](https://cve.bz/cve/badge/CVE-2026-5704.svg)](https://cve.bz/cve/CVE-2026-5704)

HTML:

<a href="https://cve.bz/cve/CVE-2026-5704"><img src="https://cve.bz/cve/badge/CVE-2026-5704.svg" alt="CVE-2026-5704"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 102:1.35-13.el10_2
Red Hat Enterprise Linux 82:1.30-13.el8_10
Red Hat Enterprise Linux 92:1.34-13.el9_8
Red Hat Discovery 21788205779
Red Hat Hardened Images1.35-10.hum1
Red Hat Update Infrastructure 51788880445
Red Hat Update Infrastructure 51788880464
Red Hat Update Infrastructure 51788880456
Red Hat Update Infrastructure 51788765051
Red Hat Update Infrastructure 51788880581

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14tarno fix listedDEBIAN-CVE-2026-5704
Ubuntu22.04:LTStar1.34+dfsg-1ubuntu0.1.22.04.6UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
Ubuntu24.04:LTStar1.35+dfsg-3ubuntu0.4UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
Ubuntu25.10tarno fix listedUBUNTU-CVE-2026-5704
Ubuntu26.04:LTStar1.35+dfsg-4ubuntu0.4UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
UbuntuPro:14.04:LTStar1.27.1-1ubuntu0.1+esm7UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
UbuntuPro:16.04:LTStar1.28-2.1ubuntu0.2+esm6UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
UbuntuPro:18.04:LTStar1.29b-2ubuntu0.4+esm4UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
UbuntuPro:20.04:LTStar1.30+dfsg-7ubuntu0.20.04.4+esm3UBUNTU-CVE-2026-5704 USN-8477-2 USN-8477-3
Red Hatenterprise_linux:8::baseostar, tar-debuginfo, tar-debugsource2:1.30-13.el8_10RHSA-2026:70390
Red Hatenterprise_linux:9::baseostar, tar-debuginfo, tar-debugsource2:1.34-13.el9_8RHSA-2026:61581
Red Hatenterprise_linux:10.2tar, tar-debuginfo, tar-debugsource2:1.35-13.el10_2RHSA-2026:61586
Red Hathummingbird:1tar2:1.35-10.hum1RHSA-2026:66514
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 moretar1.34-150000.3.42.1SUSE-SU-2026:2714-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0tar1.35-160000.4.1SUSE-SU-2026:22377-1
SUSELinux Micro 6.2tar1.35-160000.4.1SUSE-SU-2026:22289-1
openSUSELeap 16.0tar1.35-160000.4.1openSUSE-SU-2026:21070-1
openSUSETumbleweedtar1.35-8.1openSUSE-SU-2026:11125-1
AlmaLinux8tar2:1.30-13.el8_10ALSA-2026:70390
AlmaLinux9tar2:1.34-13.el9_8ALSA-2026:61581
AlmaLinux10tar2:1.35-13.el10_2ALSA-2026:61586
Rocky Linux8tar2:1.30-13.el8_10RLSA-2026:70390
Rocky Linux9tar2:1.34-13.el9_8RLSA-2026:61581
Rocky Linux10tar2:1.35-13.el10_2RLSA-2026:61586
Azure Linux3tarno fix listedAZL-98237

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

To mitigate this issue, avoid extracting archives from untrusted sources. If processing untrusted archives is necessary, do so within a sandboxed environment to limit potential impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tar-2:1.35-13.el10_2Fixed 2026-09-01RHSA-2026:61586
Red Hat Enterprise Linux 8tar-2:1.30-13.el8_10Fixed 2026-09-22RHSA-2026:70390
Red Hat Enterprise Linux 9tar-2:1.34-13.el9_8Fixed 2026-08-31RHSA-2026:61581
Red Hat Discovery 2discovery/discovery-server-rhel9:1788205779Fixed 2026-08-31RHSA-2026:61783
Red Hat Hardened Imagestar-main-1.35-10.hum1Fixed 2026-09-10RHSA-2026:66514
Red Hat Update Infrastructure 5rhui5/cds-kubernetes-rhel9:1788880445Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/cds-rhel9:1788880464Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/haproxy-rhel9:1788880456Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1788765051Fixed 2026-09-09RHSA-2026:66018
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1788880581Fixed 2026-09-09RHSA-2026:66018
Red Hat Enterprise Linux 6tarFix deferred
Red Hat Enterprise Linux 7tarFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5704.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON