
CVE catalog
CVE-2025-45582
tar vulnerability
- Severity
- High · CVSS 7.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | tar | noble | 1.35+dfsg-3ubuntu0.2 | fixed |
| Ubuntu | tar-scripts | noble | 1.35+dfsg-3ubuntu0.2 | fixed |
| Ubuntu | tar | pro | 1.30+dfsg-6 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.1 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.2 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.3 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.4 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.4+esm1 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.4+esm2 | vulnerable |
| Ubuntu | tar | pro | 1.30+dfsg-7ubuntu0.20.04.4+esm3 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build1 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build2 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build3 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.1 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.2 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.3 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.4 | fixed |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.2ubuntu1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.2ubuntu2 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.3ubuntu1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.4 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-2~build1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-2 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3build1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3ubuntu0.1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3ubuntu0.2 | fixed |
| Ubuntu | tar | 25.10 | 1.35+dfsg-3.1 | vulnerable |
| Ubuntu | tar | 25.10 | 1.35+dfsg-3.1build1 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-3.1build1 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-3.1build2 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4ubuntu0.1 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4ubuntu0.2 | fixed |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build1 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build2 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1build3 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.1 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.2 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.3 | vulnerable |
| Ubuntu | tar | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.4 | fixed |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.2ubuntu1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.2ubuntu2 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.3ubuntu1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.34+dfsg-1.4 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-2~build1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-2 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3build1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3ubuntu0.1 | vulnerable |
| Ubuntu | tar | 24.04 | 1.35+dfsg-3ubuntu0.2 | fixed |
| Ubuntu | tar | 26.04 | 1.35+dfsg-3.1build1 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-3.1build2 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4ubuntu0.1 | vulnerable |
| Ubuntu | tar | 26.04 | 1.35+dfsg-4ubuntu0.2 | fixed |
| Suse | tar | linux enterprise server 16.0 | 1.35-160000.4.1 | fixed |
| Suse | tar | linux enterprise server for sap applications 16.0 | 1.35-160000.4.1 | fixed |
| Opensuse | tar | leap 16.0 | 1.35-160000.4.1 | fixed |
| Suse | tar | linux micro 6.2 | 1.35-160000.4.1 | fixed |
| Suse | tar | linux enterprise server 12 sp5-ltss | 1.34-15.27.1 | fixed |
| Suse | tar | linux enterprise server ltss extended security 12 sp5 | 1.34-15.27.1 | fixed |
| Opensuse | tar | tumbleweed | 1.35-7.1 | fixed |
| Suse | tar | linux enterprise server 16.0 | 1.35-160000.3.1 | fixed |
| Suse | tar | linux enterprise server for sap applications 16.0 | 1.35-160000.3.1 | fixed |
| Suse | tar | linux micro 6.2 | 1.35-160000.3.1 | fixed |
| Opensuse | tar | leap 16.0 | 1.35-160000.3.1 | fixed |
| Suse | tar | linux micro 6.0 | 1.35-3.1 | fixed |
| Suse | tar | linux micro 6.1 | 1.35-slfo.1.1_3.1 | fixed |
| Suse | tar | linux enterprise micro 5.3 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise micro 5.4 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise micro 5.5 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise module for basesystem 15 sp7 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise high performance computing 15 sp4-espos | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise high performance computing 15 sp4-ltss | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise high performance computing 15 sp5-espos | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise high performance computing 15 sp5-ltss | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server 15 sp4-ltss | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server 15 sp5-ltss | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server 15 sp6-ltss | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server for sap applications 15 sp4 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server for sap applications 15 sp5 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise server for sap applications 15 sp6 | 1.34-150000.3.37.1 | fixed |
| Suse | tar | linux enterprise micro 5.2 | 1.34-150000.3.37.1 | fixed |
| Opensuse | tar | leap 15.6 | 1.34-150000.3.37.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Ubuntu | tar | deb | noble | 1.35+dfsg-3ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | tar-scripts | deb | noble | 1.35+dfsg-3ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | tar | deb | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.4 | Not reported | UBUNTU-CVE-2025-45582 | Not reported |
| Ubuntu | tar | deb | 24.04 | 1.35+dfsg-3ubuntu0.2 | Not reported | UBUNTU-CVE-2025-45582 | Not reported |
| Ubuntu | tar | deb | 26.04 | 1.35+dfsg-4ubuntu0.2 | Not reported | UBUNTU-CVE-2025-45582 | Not reported |
| Ubuntu | tar | deb | 22.04 | 1.34+dfsg-1ubuntu0.1.22.04.4 | Not reported | USN-8510-1 | Not reported |
| Ubuntu | tar | deb | 24.04 | 1.35+dfsg-3ubuntu0.2 | Not reported | USN-8510-1 | Not reported |
| Ubuntu | tar | deb | 26.04 | 1.35+dfsg-4ubuntu0.2 | Not reported | USN-8510-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 16.0 | 1.35-160000.4.1 | Not reported | SUSE-SU-2026:22377-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 16.0 | 1.35-160000.4.1 | Not reported | SUSE-SU-2026:22377-1 | Not reported |
| Opensuse | tar | rpm | leap 16.0 | 1.35-160000.4.1 | Not reported | OPENSUSE-SU-2026:21070-1 | Not reported |
| Suse | tar | rpm | linux micro 6.2 | 1.35-160000.4.1 | Not reported | SUSE-SU-2026:22289-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 12 sp5-ltss | 1.34-15.27.1 | Not reported | SUSE-SU-2026:2615-1 | Not reported |
| Suse | tar | rpm | linux enterprise server ltss extended security 12 sp5 | 1.34-15.27.1 | Not reported | SUSE-SU-2026:2615-1 | Not reported |
| Opensuse | tar | rpm | tumbleweed | 1.35-7.1 | Not reported | OPENSUSE-SU-2026:10743-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 16.0 | 1.35-160000.3.1 | Not reported | SUSE-SU-2026:21143-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 16.0 | 1.35-160000.3.1 | Not reported | SUSE-SU-2026:21143-1 | Not reported |
| Suse | tar | rpm | linux micro 6.2 | 1.35-160000.3.1 | Not reported | SUSE-SU-2026:21002-1 | Not reported |
| Opensuse | tar | rpm | leap 16.0 | 1.35-160000.3.1 | Not reported | OPENSUSE-SU-2026:20472-1 | Not reported |
| Suse | tar | rpm | linux micro 6.0 | 1.35-3.1 | Not reported | SUSE-SU-2026:20959-1 | Not reported |
| Suse | tar | rpm | linux micro 6.1 | 1.35-slfo.1.1_3.1 | Not reported | SUSE-SU-2026:20955-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.3 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.4 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.5 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise module for basesystem 15 sp7 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise high performance computing 15 sp4-espos | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise high performance computing 15 sp4-ltss | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise high performance computing 15 sp5-espos | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise high performance computing 15 sp5-ltss | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 15 sp4-ltss | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 15 sp5-ltss | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server 15 sp6-ltss | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 15 sp4 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 15 sp5 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise server for sap applications 15 sp6 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Suse | tar | rpm | linux enterprise micro 5.2 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
| Opensuse | tar | rpm | leap 15.6 | 1.34-150000.3.37.1 | Not reported | SUSE-SU-2026:1177-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [tar-backup-scripts]Unknown
Source package: [tar]
Details (1)
1.35-10.1· noarch · tumbleweedUnknown · Fixed:
1.35-7.1Version impact unknown
usn · tar · opensuse · tumbleweed
- [tar-doc]Unknown
Source package: [tar]
Details (1)
1.35-10.1· noarch · tumbleweedUnknown · Fixed:
1.35-7.1Version impact unknown
usn · tar · opensuse · tumbleweed
- [tar-lang]Unknown
Source package: [tar]
Details (1)
1.35-10.1· noarch · tumbleweedUnknown · Fixed:
1.35-7.1Version impact unknown
usn · tar · opensuse · tumbleweed
- [tar-rmt]Unknown
Source package: [tar]
Details (1)
1.35-10.1· x86_64 · tumbleweedUnknown · Fixed:
1.35-7.1Version impact unknown
usn · tar · opensuse · tumbleweed
- [tar-tests]Unknown
Source package: [tar]
Details (1)
1.35-10.1· x86_64 · tumbleweedUnknown · Fixed:
1.35-7.1Version impact unknown
usn · tar · opensuse · tumbleweed
- [tar]Fixed
Source package: [tar]
Details (1)
1.35-10.1· x86_64 · tumbleweedFixed · Fixed:
1.35-7.1usn · tar · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_70390.json]
- [https://osv.dev/vulnerability/SUSE-SU-2026:1177-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:20955-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:20959-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21002-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:21143-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22289-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:22377-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:2615-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-45582]
- [https://osv.dev/vulnerability/USN-8510-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10743-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:20472-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21070-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-45582.json]
- [https://ubuntu.com/security/notices/USN-8510-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1730.json]
[CERT-Bund public advisories] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]