CVE-2026-42496
CWE-59Published: May 26, 2026· Updated: May 28, 2026
Official Description
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.
Risk Analysis
This critical vulnerability in Archive::Tar for Perl allows attackers to extract symlinks with controlled targets outside the extraction directory. With a CVSS score of 9.1, this can lead to information disclosure or data manipulation. The absence of an EPSS score means its exploitation likelihood is currently unknown.
No public exploit is currently known for this vulnerability. Its network attack vector and low attack complexity indicate it is remotely exploitable without user interaction.
Upgrade Archive::Tar for Perl to version 3.08 or later to address this symlink vulnerability. Ensure that all archive extraction processes validate symlink targets to prevent directory traversal.
Technical Analysis
CVE-2026-42496 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), with a CVSS base score of 9.1.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (3)
Quick Facts
Related CVEs (CWE-59)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-42496 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts