CVE-2025-45582 json
GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a...
published 2025-07-11 15 mo ago modified 2026-07-23 3 mo ago also EUVD-2025-21178 , JLSEC-2025-197
- cvss
- 4.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia Tar_jll 1.35.0+0
- gnu tar 1.35
- tar Ubuntu 22.04 LTS 1.34+dfsg-1ubuntu0.1.22.04.4
- tar Ubuntu 24.04 LTS 1.35+dfsg-3ubuntu0.2
- tar Ubuntu 26.04 LTS 1.35+dfsg-4ubuntu0.2
ubuntu advisories UBUNTU-CVE-2025-45582
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- tar RHEL 8 2:1.30-13.el8_10
- tar RHEL 9 2:1.34-9.el9_7
- tar RHEL 10.1 2:1.35-9.el10_1
- tar RHEL 9.6 EUS 2:1.34-7.el9_6.2
- tar RHEL 9.4 EUS 2:1.34-6.el9_4.3
- tar enterprise linux eus 10.0 2:1.35-7.el10_0.2
red hat advisories RHSA-2026:70390RHSA-2026:0435RHSA-2026:0434RHSA-2026:0135RHSA-2026:0067RHSA-2026:0002
- tar SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.35-160000.4.1
- tar SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 1.35-160000.3.1
- tar SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +13 more 1.34-150000.3.37.1
- tar Linux Micro 6.0 1.35-3.1
- tar Linux Micro 6.1 1.35-slfo.1.1_3.1
- tar SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.34-15.27.1
suse advisories SUSE-SU-2026:22289-1SUSE-SU-2026:22377-1SUSE-SU-2026:2615-1SUSE-SU-2026:21002-1SUSE-SU-2026:21143-1SUSE-SU-2026:1177-1
- tar openSUSE Leap 16.0 1.35-160000.4.1
- tar openSUSE Tumbleweed 1.35-7.1
- tar openSUSE Leap 16.0 1.35-160000.3.1
opensuse advisories openSUSE-SU-2026:21070-1openSUSE-SU-2026:10743-1openSUSE-SU-2026:20472-1
- tar AlmaLinux 8 2:1.30-13.el8_10
- tar AlmaLinux 10 2:1.35-9.el10_1
- tar AlmaLinux 9 2:1.34-9.el9_7
almalinux advisories ALSA-2026:70390ALSA-2026:0002ALSA-2026:0067
- tar Rocky Linux 8 2:1.30-13.el8_10
- tar Rocky Linux 9 2:1.34-9.el9_7
- tar Rocky Linux 10 2:1.35-9.el10_1
rocky linux advisories RLSA-2026:70390RLSA-2026:0067RLSA-2026:0002
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-45582 updated cvss 5.6
tar: Tar path traversal
-
Red Hat Enterprise Linux 6 taraffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 tar Red Hat Fuse 7 io.syndesis-syndesis-ui Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Ceph Storage 7 rhceph 1769508455fixed: vendor fix RHSA-2026:1858
-
Red Hat Ceph Storage 8 rhceph 1769512383fixed: vendor fix RHSA-2026:1652
-
Red Hat Discovery 2 discovery 1767888970, discovery 1767904573fixed: vendor fix RHSA-2026:0414
-
Red Hat Enterprise Linux BaseOS (v. 8) tar 1.30-13.el8_10fixed: vendor fix RHSA-2026:70390
-
Red Hat Enterprise Linux BaseOS (v. 9) tar 1.34-9.el9_7fixed: vendor fix RHSA-2026:0067
-
Red Hat Enterprise Linux BaseOS (v. 10) tar 1.35-9.el10_1fixed: vendor fix RHSA-2026:0002
show 5 moreshow fewer
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) tar 1.35-7.el10_0.2fixed: vendor fix RHSA-2026:0135
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) tar 1.34-6.el9_4.3fixed: vendor fix RHSA-2026:0434
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) tar 1.34-7.el9_6.2fixed: vendor fix RHSA-2026:0435
-
Red Hat Update Infrastructure 5 rhui5 1768221100, rhui5 1768221107, rhui5 1768296285, rhui5 1768377012fixed: vendor fix RHSA-2026:0685
-
Red Hat Ceph Storage 7 rhceph 1769511650, rhceph 1769512818, rhceph 1769513068, rhceph 1769514555, rhceph 1769523636 Red Hat Ceph Storage 8 rhceph 1768902743, rhceph 1768903190, rhceph 1768903749, rhceph 1768907469, rhceph 1768915405 Red Hat Enterprise Linux BaseOS EUS (v. 10.0) tar 1.35-7.el10_0.2 Red Hat Enterprise Linux BaseOS EUS (v.9.6) tar 1.34-7.el9_6.2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 15 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/i900008/vulndb/blob/main/Gnu_tar_vuln.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L |
| OSV | 3.1 | 4.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Tar_jll | <1.35.0+0 |
1.35.0+0 |
Affected products
- GNU Tar
Classification
- Weakness
-
- CWE-24 Path Traversal: '../filedir'
References
-
github.com
/i900008/vulndb/blob/main/Gnu_tar_vuln.md
exploit, third-party-advisory, web
-
gnu.org
/software/tar/
product, release-notes, web
-
gnu.org
/software/tar/manual/html_node/Security-rules-of-thumb.html
web
-
gnu.org
/software/tar/manual/html_node/Integrity.html
web
-
lists.gnu.org
/archive/html/bug-tar/2025-08/msg00012.html
web
-
openwall.com
/lists/oss-security/2025/11/01/6
web
Sources
- CVE List CVE-2025-45582
- NVD CVE-2025-45582
- OSV JLSEC-2025-197
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.