Patchwire CVEs, their patch status, and feeds to follow them

CVE-2025-45582

Fixed in a distro release EPSS <1%CVSS 4.1

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.

Published 2025-07-11 · CVE record · OSV

Products: gnu tar

Distro releases

ReleasePackageFixed in
AlmaLinux 10tar2:1.35-9.el10_1
AlmaLinux 8tar2:1.30-13.el8_10
AlmaLinux 9tar2:1.34-9.el9_7
Red Hat Enterprise Linux 10.1tar2:1.35-9.el10_1
Red Hat Enterprise Linux 10.1tar-debuginfo2:1.35-9.el10_1
Red Hat Enterprise Linux 10.1tar-debugsource2:1.35-9.el10_1
Red Hat Enterprise Linux 8tar2:1.30-13.el8_10
Red Hat Enterprise Linux 8tar-debuginfo2:1.30-13.el8_10
Red Hat Enterprise Linux 8tar-debugsource2:1.30-13.el8_10
Red Hat Enterprise Linux 9tar2:1.34-9.el9_7
Red Hat Enterprise Linux 9tar-debuginfo2:1.34-9.el9_7
Red Hat Enterprise Linux 9tar-debugsource2:1.34-9.el9_7
Red Hat Enterprise Linux eus 10.0tar2:1.35-7.el10_0.2
Red Hat rhel eus 9.4tar2:1.34-6.el9_4.3
Red Hat rhel eus 9.4tar-debuginfo2:1.34-6.el9_4.3
Red Hat rhel eus 9.4tar-debugsource2:1.34-6.el9_4.3
Red Hat rhel eus 9.6tar2:1.34-7.el9_6.2
Rocky Linux 10tar2:1.35-9.el10_1
Rocky Linux 8tar2:1.30-13.el8_10
Rocky Linux 9tar2:1.34-9.el9_7
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOStar1.34-150000.3.37.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSStar1.34-150000.3.37.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOStar1.34-150000.3.37.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSStar1.34-150000.3.37.1
SUSE Linux Enterprise Micro 5.2tar1.34-150000.3.37.1
SUSE Linux Enterprise Micro 5.3tar1.34-150000.3.37.1
SUSE Linux Enterprise Micro 5.4tar1.34-150000.3.37.1
SUSE Linux Enterprise Micro 5.5tar1.34-150000.3.37.1
SUSE Linux Enterprise Module for Basesystem 15 SP7tar1.34-150000.3.37.1
SUSE Linux Enterprise Server 12 SP5-LTSStar1.34-15.27.1
SUSE Linux Enterprise Server 15 SP4-LTSStar1.34-150000.3.37.1
SUSE Linux Enterprise Server 15 SP5-LTSStar1.34-150000.3.37.1
SUSE Linux Enterprise Server 15 SP6-LTSStar1.34-150000.3.37.1
SUSE Linux Enterprise Server 16.0tar1.35-160000.3.1
SUSE Linux Enterprise Server 16.0tar1.35-160000.4.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5tar1.34-15.27.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4tar1.34-150000.3.37.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5tar1.34-150000.3.37.1
SUSE Linux Enterprise Server for SAP Applications 15 SP6tar1.34-150000.3.37.1
SUSE Linux Enterprise Server for SAP applications 16.0tar1.35-160000.4.1
SUSE Linux Enterprise Server for SAP applications 16.0tar1.35-160000.3.1
SUSE Linux Micro 6.0tar1.35-3.1
SUSE Linux Micro 6.1tar1.35-slfo.1.1_3.1
SUSE Linux Micro 6.2tar1.35-160000.3.1
SUSE Linux Micro 6.2tar1.35-160000.4.1
Ubuntu 22.04 LTStar1.34+dfsg-1ubuntu0.1.22.04.4
Ubuntu 24.04 LTStar1.35+dfsg-3ubuntu0.2
Ubuntu 25.10tarno fix
Ubuntu 26.04 LTStar1.35+dfsg-4ubuntu0.2
Ubuntu Pro 14.04 LTStarno fix
Ubuntu Pro 16.04 LTStarno fix
Ubuntu Pro 18.04 LTStarno fix
Ubuntu Pro 20.04 LTStarno fix
openSUSE Leap 15.6tar1.34-150000.3.37.1
openSUSE Leap 16.0tar1.35-160000.4.1
openSUSE Leap 16.0tar1.35-160000.3.1
openSUSE Tumbleweedtar1.35-7.1