GNU Tar up to 1.35 TAR Archive path traversal

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

Summaryinfo

A vulnerability described as problematic has been identified in GNU Tar up to 1.35. This impacts an unknown function of the component TAR Archive Handler. Such manipulation leads to path traversal. This vulnerability is referenced as CVE-2025-45582. It is possible to launch the attack remotely. No exploit is available.

Detailsinfo

A vulnerability was found in GNU Tar up to 1.35. It has been rated as problematic. Affected by this issue is an unknown code block of the component TAR Archive Handler. The manipulation with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-24. The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory. Impacted is integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at github.com. This vulnerability is handled as CVE-2025-45582 since 04/22/2025. The exploitation is known to be difficult. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 02/09/2026). The MITRE ATT&CK project declares the attack technique as T1006.

The vulnerability scanner Nessus provides a plugin with the ID 281751 (AlmaLinux 10 : tar (ALSA-2026:0002)), which helps to determine the existence of the flaw in a target environment.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Tenable (281751), EUVD (EUVD-2025-21178) and CERT Bund (WID-SEC-2026-0008). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Red Hat Enterprise Linux
  • Oracle Linux
  • RESF Rocky Linux
  • IBM App Connect Enterprise
  • IBM MQ

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.2
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.2
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 4.1
CNA Vector (MITRE): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Path traversal
CWE: CWE-24 / CWE-23 / CWE-22
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 281751
Nessus Name: AlmaLinux 10 : tar (ALSA-2026:0002)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔒

Timelineinfo

04/22/2025 CVE reserved
07/11/2025 +80 days Advisory disclosed
07/11/2025 +0 days VulDB entry created
02/09/2026 +213 days VulDB entry last update

Sourcesinfo

Vendor: gnu.org

Advisory: github.com
Status: Not defined

CVE: CVE-2025-45582 (🔒)
GCVE (CVE): GCVE-0-2025-45582
GCVE (VulDB): GCVE-100-316160
EUVD: 🔒
CERT Bund: WID-SEC-2026-0008 - Red Hat Enterprise Linux: Mehrere Schwachstellen

Entryinfo

Created: 07/11/2025 20:24
Updated: 02/09/2026 14:23
Changes: 07/11/2025 20:24 (61), 07/11/2025 21:34 (1), 08/18/2025 06:21 (1), 11/02/2025 03:48 (1), 01/05/2026 18:55 (2), 01/06/2026 17:52 (7), 02/09/2026 14:23 (1)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!