Path traversal in Tar - CVE-2025-45582

 

Path traversal in Tar - CVE-2025-45582

Published: December 23, 2025


Vulnerability identifier: #VU120256
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L/E:U/U:Clear
CVE-ID: CVE-2025-45582
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Tar

Detailed vulnerability description

The vulnerability allows a local user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A local user can trick the victim into opening a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2025-45582

Install updates from vendor's website.

Sources