CVE-2026-42496

Severity CVSS v4.0:
Pending analysis
Type:
CWE-59 Link Following
Publication date:
26/05/2026
Last modified:
30/06/2026

Description

Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.<br /> <br /> _make_special_file() passes the tar header&amp;#39;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.<br /> <br /> A subsequent open through the extracted name reads or writes the attacker chosen path.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:archive\:\:tar_project:archive\:\:tar:*:*:*:*:*:perl:*:* 3.08 (excluding)