Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-45582

4.1 · MEDIUM
Published Jul 11, 2025 gnu CWE-24 EPSS 0.43% (36th pctl)

Overview

CVE-2025-45582 is a medium-severity vulnerability affecting gnu tar. It was published on July 11, 2025 and has a CVSS 3.1 base score of 4.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.1, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical 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 wh

Remediation

Check the references section for vendor advisories and patches from gnu. Update tar to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
gnu tar >= 0, < 1.35 Affected

Frequently Asked Questions

What is CVE-2025-45582?

CVE-2025-45582 is a medium-severity vulnerability affecting gnu tar. It was published on July 11, 2025 and has a CVSS 3.1 base score of 4.1 (MEDIUM).

How severe is CVE-2025-45582?

This vulnerability has a CVSS 3.1 base score of 4.1, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-45582?

Check the references section for vendor advisories and patches from gnu. Update tar to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-45582?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-45582 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.