Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-42497 Details

Description

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory. _make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode. A subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-59Improper Link Resolution Before File Access ('Link Following')CPANSec
CWE-732Incorrect Permission Assignment for Critical ResourceCPANSec

Affected Products

ProductVersions
archive::tar project archive::tar
< 3.08

CPE

  • cpe:2.3:a:archive::tar_project:archive::tar:*:*:*:*:*:perl:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-42497
NVD Published Date:
May 26, 2026
NVD Last Modified:
Jul 24, 2026
Source:
CPANSec
CVE-2026-42497 Details - Not Deferred