CVE-2025-45582
Last modified
CVE-2025-45582 is a medium-severity vulnerability rated 4.1/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Tar | < 1.35 |
References
- https://github.com/i900008/vulndb/blob/main/Gnu_tar_vuln.mdExploit, Third Party Advisory
- https://www.gnu.org/software/tar/Product, Release Notes
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-45582?
How severe is CVE-2025-45582?
How do I fix CVE-2025-45582?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-4554A vulnerability was found in PHPGurukul Apartment Visitors M…9.8
- CVE-2025-45542SQL injection vulnerability in the registrationform endpoint…7.3
- CVE-2025-4555The web management interface of Okcat Parking Management Pla…9.8
- CVE-2025-4556The web management interface of Okcat Parking Management Pla…9.8
- CVE-2025-4557The specific APIs of Parking Management System from ZONG YU …9.1
- CVE-2025-4558The GPM from WormHole Tech has an Unverified Password Change…9.8
- CVE-2025-45583Incorrect access control in the FTP protocol of Audi UTR 2.0…9.1
- CVE-2025-45584Incorrect access control in the web service of Audi UTR 2.0 …7.5
- CVE-2025-45585Multiple stored cross-site scripting (XSS) vulnerabilities i…5.4
- CVE-2025-45586An issue in Audi UTR 2.0 Universal Traffic Recorder 2.0 allo…7.5
- CVE-2025-45587A stack overflow in the FTP service of Audi UTR 2.0 Universa…7
- CVE-2025-4559The ISOinsight from Netvision has a SQL Injection vulnerabil…9.8
Are you affected by CVE-2025-45582?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
