CVE catalog

CVE-2026-5704

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-

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantarsid1.35+dfsg-7vulnerable
Debiantarforky1.35+dfsg-6vulnerable
Debiantartrixie1.35+dfsg-3.1vulnerable
Debiantarbookworm1.34+dfsg-1.2+deb12u1vulnerable
CpetarNot reported1.35+dfsg-3ubuntu0.1fixed
Cpetar-scriptsNot reported1.35+dfsg-3ubuntu0.1fixed
CpetarNot reportedNot reportedvulnerable
CpetarNot reportedNot reportedunknown
Cpehardened_imagesNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
CpetarNot reported1.35+dfsg-3ubuntu0.3fixed
Cpetar-scriptsNot reported1.35+dfsg-3ubuntu0.3fixed
Ubuntutarnoble1.35+dfsg-3ubuntu0.4fixed
Ubuntutar-scriptsnoble1.35+dfsg-3ubuntu0.4fixed
CpetarNot reportedNot reportedunknown
Cpehardened_imagesNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
Ubuntutarpro1.30+dfsg-6vulnerable
Ubuntutarpro1.30+dfsg-7vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.3vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm3fixed
Ubuntutar22.041.34+dfsg-1build1vulnerable
Ubuntutar22.041.34+dfsg-1build2vulnerable
Ubuntutar22.041.34+dfsg-1build3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.1vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.2vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.4vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.5vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.6fixed
Ubuntutar24.041.34+dfsg-1.2ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.2ubuntu2vulnerable
Ubuntutar24.041.34+dfsg-1.3ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.4vulnerable
Ubuntutar24.041.35+dfsg-2~build1vulnerable
Ubuntutar24.041.35+dfsg-2vulnerable
Ubuntutar24.041.35+dfsg-3vulnerable
Ubuntutar24.041.35+dfsg-3build1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.2vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.3vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.4fixed
Ubuntutar25.101.35+dfsg-3.1vulnerable
Ubuntutar25.101.35+dfsg-3.1build1vulnerable
Ubuntutar26.041.35+dfsg-3.1build1vulnerable
Ubuntutar26.041.35+dfsg-3.1build2vulnerable
Ubuntutar26.041.35+dfsg-4vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.1vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.2vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.3vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.4fixed
Ubuntutarpro1.30+dfsg-6vulnerable
Ubuntutarpro1.30+dfsg-7vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.3vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm3fixed
Ubuntutar22.041.34+dfsg-1build1vulnerable
Ubuntutar22.041.34+dfsg-1build2vulnerable
Ubuntutar22.041.34+dfsg-1build3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.1vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.2vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.4vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.5vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.6fixed
Ubuntutar24.041.34+dfsg-1.2ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.2ubuntu2vulnerable
Ubuntutar24.041.34+dfsg-1.3ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.4vulnerable
Ubuntutar24.041.35+dfsg-2~build1vulnerable
Ubuntutar24.041.35+dfsg-2vulnerable
Ubuntutar24.041.35+dfsg-3vulnerable
Ubuntutar24.041.35+dfsg-3build1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.2vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.3vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.4fixed
Ubuntutar26.041.35+dfsg-3.1build1vulnerable
Ubuntutar26.041.35+dfsg-3.1build2vulnerable
Ubuntutar26.041.35+dfsg-4vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.1vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.2vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.3vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.4fixed
Ubuntutarpro1.30+dfsg-6vulnerable
Ubuntutarpro1.30+dfsg-7vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.3vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm2fixed
Ubuntutar22.041.34+dfsg-1build1vulnerable
Ubuntutar22.041.34+dfsg-1build2vulnerable
Ubuntutar22.041.34+dfsg-1build3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.1vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.2vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.4vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.5fixed
Ubuntutar24.041.34+dfsg-1.2ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.2ubuntu2vulnerable
Ubuntutar24.041.34+dfsg-1.3ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.4vulnerable
Ubuntutar24.041.35+dfsg-2~build1vulnerable
Ubuntutar24.041.35+dfsg-2vulnerable
Ubuntutar24.041.35+dfsg-3vulnerable
Ubuntutar24.041.35+dfsg-3build1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.2vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.3fixed
Ubuntutar26.041.35+dfsg-3.1build1vulnerable
Ubuntutar26.041.35+dfsg-3.1build2vulnerable
Ubuntutar26.041.35+dfsg-4vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.1vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.2vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.3fixed
Ubuntutarpro1.30+dfsg-6vulnerable
Ubuntutarpro1.30+dfsg-7vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.1vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.2vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.3vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4vulnerable
Ubuntutarpro1.30+dfsg-7ubuntu0.20.04.4+esm1fixed
Ubuntutar22.041.34+dfsg-1build1vulnerable
Ubuntutar22.041.34+dfsg-1build2vulnerable
Ubuntutar22.041.34+dfsg-1build3vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.1vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.2vulnerable
Ubuntutar22.041.34+dfsg-1ubuntu0.1.22.04.3fixed
Ubuntutar24.041.34+dfsg-1.2ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.2ubuntu2vulnerable
Ubuntutar24.041.34+dfsg-1.3ubuntu1vulnerable
Ubuntutar24.041.34+dfsg-1.4vulnerable
Ubuntutar24.041.35+dfsg-2~build1vulnerable
Ubuntutar24.041.35+dfsg-2vulnerable
Ubuntutar24.041.35+dfsg-3vulnerable
Ubuntutar24.041.35+dfsg-3build1vulnerable
Ubuntutar24.041.35+dfsg-3ubuntu0.1fixed
Ubuntutar26.041.35+dfsg-3.1build1vulnerable
Ubuntutar26.041.35+dfsg-3.1build2vulnerable
Ubuntutar26.041.35+dfsg-4vulnerable
Ubuntutar26.041.35+dfsg-4ubuntu0.1fixed
Susetarlinux enterprise micro 5.31.34-150000.3.42.1fixed
Susetarlinux enterprise micro 5.41.34-150000.3.42.1fixed
Susetarlinux enterprise micro 5.51.34-150000.3.42.1fixed
Susetarlinux enterprise module for basesystem 15 sp71.34-150000.3.42.1fixed
Susetarlinux enterprise high performance computing 15 sp4-espos1.34-150000.3.42.1fixed
Susetarlinux enterprise high performance computing 15 sp4-ltss1.34-150000.3.42.1fixed
Susetarlinux enterprise high performance computing 15 sp5-espos1.34-150000.3.42.1fixed
Susetarlinux enterprise high performance computing 15 sp5-ltss1.34-150000.3.42.1fixed
Susetarlinux enterprise server 15 sp4-ltss1.34-150000.3.42.1fixed
Susetarlinux enterprise server 15 sp5-ltss1.34-150000.3.42.1fixed
Susetarlinux enterprise server 15 sp6-ltss1.34-150000.3.42.1fixed
Susetarlinux enterprise server for sap applications 15 sp41.34-150000.3.42.1fixed
Susetarlinux enterprise server for sap applications 15 sp51.34-150000.3.42.1fixed
Susetarlinux enterprise server for sap applications 15 sp61.34-150000.3.42.1fixed
Opensusetartumbleweed1.35-8.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantarsourcesid(unfixed)not yet assignedNot reported[1132999]
Debiantarsourceforky(unfixed)not yet assignedNot reported[1132999]
Debiantarsourcetrixie(unfixed)not yet assignedNot reported[1132999]
Debiantarsourcebookworm(unfixed)not yet assignedNot reported[1132999]
CpetarcpeNot reported1.35+dfsg-3ubuntu0.1Not reportedNot reportedNot reported
Cpetar-scriptscpeNot reported1.35+dfsg-3ubuntu0.1Not reportedNot reportedNot reported
CpetarcpeNot reported1.35+dfsg-3ubuntu0.3Not reportedNot reportedNot reported
Cpetar-scriptscpeNot reported1.35+dfsg-3ubuntu0.3Not reportedNot reportedNot reported
Ubuntutardebnoble1.35+dfsg-3ubuntu0.4Not reportedNot reportedNot reported
Ubuntutar-scriptsdebnoble1.35+dfsg-3ubuntu0.4Not reportedNot reportedNot reported
Ubuntutardebpro1.30+dfsg-7ubuntu0.20.04.4+esm3Not reportedUBUNTU-CVE-2026-5704Not reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.6Not reportedUBUNTU-CVE-2026-5704Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.4Not reportedUBUNTU-CVE-2026-5704Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.4Not reportedUBUNTU-CVE-2026-5704Not reported
Ubuntutardebpro1.30+dfsg-7ubuntu0.20.04.4+esm3Not reportedUSN-8477-3Not reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.6Not reportedUSN-8477-3Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.4Not reportedUSN-8477-3Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.4Not reportedUSN-8477-3Not reported
Ubuntutardebpro1.30+dfsg-7ubuntu0.20.04.4+esm2Not reportedUSN-8477-2Not reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.5Not reportedUSN-8477-2Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.3Not reportedUSN-8477-2Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.3Not reportedUSN-8477-2Not reported
Ubuntutardebpro1.30+dfsg-7ubuntu0.20.04.4+esm1Not reportedUSN-8477-1Not reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.3Not reportedUSN-8477-1Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.1Not reportedUSN-8477-1Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.1Not reportedUSN-8477-1Not reported
Susetarrpmlinux enterprise micro 5.31.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise micro 5.41.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise micro 5.51.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise module for basesystem 15 sp71.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp4-espos1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp4-ltss1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp5-espos1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp5-ltss1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server 15 sp4-ltss1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server 15 sp5-ltss1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server 15 sp6-ltss1.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp41.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp51.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp61.34-150000.3.42.1Not reportedSUSE-SU-2026:2714-1Not reported
Opensusetarrpmtumbleweed1.35-8.1Not reportedOPENSUSE-SU-2026:11125-1Not reported

[Debian bug #1132999]

Notes

[trixie] tar: Minor issue [bookworm] tar: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [tar]Affected
    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

  • [tar-scripts]Affected

    Source package: [tar]

    Details (2)
    • 1.34+dfsg-1.2+deb12u1 · amd64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

    • 1.34+dfsg-1.2+deb12u1 · arm64 · bookworm

      Affected

      nvd · tar · debian · bookworm; nvd · tar · debian · 12

[Debian 13 (Trixie)]

  • [tar]Affected
    Details (2)
    • 1.35+dfsg-3.1 · amd64 · trixie

      Affected

      nvd · tar · debian · 13

    • 1.35+dfsg-3.1 · arm64 · trixie

      Affected

      nvd · tar · debian · 13

  • [tar-scripts]Affected

    Source package: [tar]

    Details (2)
    • 1.35+dfsg-3.1 · all · trixie

      Affected

      nvd · tar · debian · 13

    • 1.35+dfsg-3.1 · all · trixie

      Affected

      nvd · tar · debian · 13

[openSUSE Tumbleweed]

  • Source package: [tar]

    Details (1)
    • 1.35-10.1 · noarch · tumbleweed

      Unknown · Fixed: 1.35-8.1

      Version impact unknown

      nvd · tar · opensuse · tumbleweed

  • [tar-doc]Unknown

    Source package: [tar]

    Details (1)
    • 1.35-10.1 · noarch · tumbleweed

      Unknown · Fixed: 1.35-8.1

      Version impact unknown

      nvd · tar · opensuse · tumbleweed

  • [tar-lang]Unknown

    Source package: [tar]

    Details (1)
    • 1.35-10.1 · noarch · tumbleweed

      Unknown · Fixed: 1.35-8.1

      Version impact unknown

      nvd · tar · opensuse · tumbleweed

  • [tar-rmt]Unknown

    Source package: [tar]

    Details (1)
    • 1.35-10.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.35-8.1

      Version impact unknown

      nvd · tar · opensuse · tumbleweed

  • [tar-tests]Unknown

    Source package: [tar]

    Details (1)
    • 1.35-10.1 · x86_64 · tumbleweed

      Unknown · Fixed: 1.35-8.1

      Version impact unknown

      nvd · tar · opensuse · tumbleweed

  • [tar]Fixed

    Source package: [tar]

    Details (1)
    • 1.35-10.1 · x86_64 · tumbleweed

      Fixed · Fixed: 1.35-8.1

      nvd · tar · opensuse · tumbleweed

Observed:

References

[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]