CVE-2025-45582

Exp

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 Last update: 2025-11-02 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-45582 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.13%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-45582

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-45582

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-28 0.16% 0.13% -0.03%
2 2026-05-22 0.06% 0.16% +0.10%
3 2026-01-27 0.06%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-45582

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.1 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.0 2.7 [email protected]

Weakness enumeration for CVE-2025-45582

OS Trackers for CVE-2025-45582

vendor priority summary link
alpine medium CVE-2025-45582: 1 source package rows (tar); 33 state rows across 6 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 0, open 33. https://security.alpinelinux.org/vuln/CVE-2025-45582
redhat medium https://access.redhat.com/security/cve/CVE-2025-45582
suse high CVE-2025-45582 severity important: SUSE including 265 source package names (13.2-9.87:tar-1.35-slfo.1.1_3.1, 13.2-9.87:vim-9.2.0280-slfo.1.1_1.1, …), 369 product×package rows across 71 product lines (Container suse/sl-micro/6.0/baremetal-os-container, Container suse/sl-micro/6.0/base-os-container, … (71 product lines)): Known Affected 231, Fixed 133, First Fixed 5. https://www.suse.com/security/cve/CVE-2025-45582/
ubuntu medium CVE-2025-45582 medium priority: Ubuntu including 1 source packages (tar), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): needed 7, ignored 1, needs-triage 1. https://ubuntu.com/security/CVE-2025-45582

Affected software / configurations for CVE-2025-45582

Vendor Product Version Raw CPE
gnu tar < 1.35 cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*

References for CVE-2025-45582

cvelogic Threat Intelligence