CVE-2026-42496

CRITICAL CVSS 3.1: 9.1 EPSS 0.50%
Updated Jul 24, 2026
Archive\
Parameter Value
CVSS 9.1 (CRITICAL)
Affected Versions before 3.08
Fixed In 3.08
Type CWE-22 (Path Traversal), CWE-59 (Improper Link Resolution)
Vendor Archive\
Public PoC No

Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory. _make_special_file() passes the tar header's linkname to symlink() without validating it against absolute paths or .. segments. The secure-extract mode check that guards regular file extraction does not cover the symlink target. A subsequent open through the extracted name reads or writes the attacker chosen path.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Archive\ \
cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:*
— 3.08