CVE & CISA-KEV Catalog

CVE-2026-42497

MEDIUM
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
\NVD
Affected:< 3.08Fixed in:3.08CVE-2026-42497derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U

Exploit Intelligence

0.42%probability of exploitation in 30 days
33rdpercentile

Low risk: more likely to be exploited than 33% of all known CVEs.

References

Third-Party Advisory1
Release Notes1
Embed a live status badge for CVE-2026-42497
CVE-2026-42497 severity badge

Markdown

[![CVE-2026-42497](https://tridentstack.com/cve/badge/CVE-2026-42497.svg)](https://tridentstack.com/cve/CVE-2026-42497)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-42497"><img src="https://tridentstack.com/cve/badge/CVE-2026-42497.svg" alt="CVE-2026-42497"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-28.