CVE catalog

CVE-2025-45582

tar vulnerability

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.49% · Oct 25, 2026

GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the symlink name and ends with that critical file's name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of "Member name contains '..'" that would occur for a single TAR archive that attempted to specify the critical file via a ../ approach. For example, the first archive can contain "x -> ../../../../../home/victim/.ssh" and the second archive can contain x/authorized_keys. This can affect server applications that automatically extract any number of user-supplied TAR archives, and were relying on the blocking of traversal. This can also affect software installation processes in which "tar xf" is run more than once (e.g., when installing a package can automatically install two dependencies that are set up as untrusted tarballs instead of official packages). NOTE: the official GNU Tar manual has an otherwise-empty directory for each "tar xf" in its Security Rules of Thumb; however, third-party advice leads users to run "tar xf" more than once into the same directory.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Ubuntutarnoble1.35+dfsg-3ubuntu0.2fixed
Ubuntutar-scriptsnoble1.35+dfsg-3ubuntu0.2fixed
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+esm3vulnerable
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.4fixed
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.2fixed
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.2fixed
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.4fixed
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.2fixed
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.2fixed
Susetarlinux enterprise server 16.01.35-160000.4.1fixed
Susetarlinux enterprise server for sap applications 16.01.35-160000.4.1fixed
Opensusetarleap 16.01.35-160000.4.1fixed
Susetarlinux micro 6.21.35-160000.4.1fixed
Susetarlinux enterprise server 12 sp5-ltss1.34-15.27.1fixed
Susetarlinux enterprise server ltss extended security 12 sp51.34-15.27.1fixed
Opensusetartumbleweed1.35-7.1fixed
Susetarlinux enterprise server 16.01.35-160000.3.1fixed
Susetarlinux enterprise server for sap applications 16.01.35-160000.3.1fixed
Susetarlinux micro 6.21.35-160000.3.1fixed
Opensusetarleap 16.01.35-160000.3.1fixed
Susetarlinux micro 6.01.35-3.1fixed
Susetarlinux micro 6.11.35-slfo.1.1_3.1fixed
Susetarlinux enterprise micro 5.31.34-150000.3.37.1fixed
Susetarlinux enterprise micro 5.41.34-150000.3.37.1fixed
Susetarlinux enterprise micro 5.51.34-150000.3.37.1fixed
Susetarlinux enterprise module for basesystem 15 sp71.34-150000.3.37.1fixed
Susetarlinux enterprise high performance computing 15 sp4-espos1.34-150000.3.37.1fixed
Susetarlinux enterprise high performance computing 15 sp4-ltss1.34-150000.3.37.1fixed
Susetarlinux enterprise high performance computing 15 sp5-espos1.34-150000.3.37.1fixed
Susetarlinux enterprise high performance computing 15 sp5-ltss1.34-150000.3.37.1fixed
Susetarlinux enterprise server 15 sp4-ltss1.34-150000.3.37.1fixed
Susetarlinux enterprise server 15 sp5-ltss1.34-150000.3.37.1fixed
Susetarlinux enterprise server 15 sp6-ltss1.34-150000.3.37.1fixed
Susetarlinux enterprise server for sap applications 15 sp41.34-150000.3.37.1fixed
Susetarlinux enterprise server for sap applications 15 sp51.34-150000.3.37.1fixed
Susetarlinux enterprise server for sap applications 15 sp61.34-150000.3.37.1fixed
Susetarlinux enterprise micro 5.21.34-150000.3.37.1fixed
Opensusetarleap 15.61.34-150000.3.37.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Ubuntutardebnoble1.35+dfsg-3ubuntu0.2Not reportedNot reportedNot reported
Ubuntutar-scriptsdebnoble1.35+dfsg-3ubuntu0.2Not reportedNot reportedNot reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.4Not reportedUBUNTU-CVE-2025-45582Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.2Not reportedUBUNTU-CVE-2025-45582Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.2Not reportedUBUNTU-CVE-2025-45582Not reported
Ubuntutardeb22.041.34+dfsg-1ubuntu0.1.22.04.4Not reportedUSN-8510-1Not reported
Ubuntutardeb24.041.35+dfsg-3ubuntu0.2Not reportedUSN-8510-1Not reported
Ubuntutardeb26.041.35+dfsg-4ubuntu0.2Not reportedUSN-8510-1Not reported
Susetarrpmlinux enterprise server 16.01.35-160000.4.1Not reportedSUSE-SU-2026:22377-1Not reported
Susetarrpmlinux enterprise server for sap applications 16.01.35-160000.4.1Not reportedSUSE-SU-2026:22377-1Not reported
Opensusetarrpmleap 16.01.35-160000.4.1Not reportedOPENSUSE-SU-2026:21070-1Not reported
Susetarrpmlinux micro 6.21.35-160000.4.1Not reportedSUSE-SU-2026:22289-1Not reported
Susetarrpmlinux enterprise server 12 sp5-ltss1.34-15.27.1Not reportedSUSE-SU-2026:2615-1Not reported
Susetarrpmlinux enterprise server ltss extended security 12 sp51.34-15.27.1Not reportedSUSE-SU-2026:2615-1Not reported
Opensusetarrpmtumbleweed1.35-7.1Not reportedOPENSUSE-SU-2026:10743-1Not reported
Susetarrpmlinux enterprise server 16.01.35-160000.3.1Not reportedSUSE-SU-2026:21143-1Not reported
Susetarrpmlinux enterprise server for sap applications 16.01.35-160000.3.1Not reportedSUSE-SU-2026:21143-1Not reported
Susetarrpmlinux micro 6.21.35-160000.3.1Not reportedSUSE-SU-2026:21002-1Not reported
Opensusetarrpmleap 16.01.35-160000.3.1Not reportedOPENSUSE-SU-2026:20472-1Not reported
Susetarrpmlinux micro 6.01.35-3.1Not reportedSUSE-SU-2026:20959-1Not reported
Susetarrpmlinux micro 6.11.35-slfo.1.1_3.1Not reportedSUSE-SU-2026:20955-1Not reported
Susetarrpmlinux enterprise micro 5.31.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise micro 5.41.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise micro 5.51.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise module for basesystem 15 sp71.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp4-espos1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp4-ltss1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp5-espos1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise high performance computing 15 sp5-ltss1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server 15 sp4-ltss1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server 15 sp5-ltss1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server 15 sp6-ltss1.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp41.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp51.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise server for sap applications 15 sp61.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Susetarrpmlinux enterprise micro 5.21.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported
Opensusetarrpmleap 15.61.34-150000.3.37.1Not reportedSUSE-SU-2026:1177-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [tar]

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

      Unknown · Fixed: 1.35-7.1

      Version impact unknown

      usn · tar · opensuse · tumbleweed

  • [tar-doc]Unknown

    Source package: [tar]

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

      Unknown · Fixed: 1.35-7.1

      Version impact unknown

      usn · tar · opensuse · tumbleweed

  • [tar-lang]Unknown

    Source package: [tar]

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

      Unknown · Fixed: 1.35-7.1

      Version impact unknown

      usn · tar · opensuse · tumbleweed

  • [tar-rmt]Unknown

    Source package: [tar]

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

      Unknown · Fixed: 1.35-7.1

      Version impact unknown

      usn · tar · opensuse · tumbleweed

  • [tar-tests]Unknown

    Source package: [tar]

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

      Unknown · Fixed: 1.35-7.1

      Version impact unknown

      usn · tar · opensuse · tumbleweed

  • [tar]Fixed

    Source package: [tar]

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

      Fixed · Fixed: 1.35-7.1

      usn · tar · opensuse · tumbleweed

Observed:

References