Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42497

published high CVSS 3.1 · 7.5

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory

Published
26 May 2026, 00:17:50 UTC
Updated
10 Nov 2026, 12:45:57 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
BINGOS — Archive-TarArchive::Tar · 0 to < 3.08 · Other versions: unaffected Affected Not stated CPANSec
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2-2026-3347 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1805 Fixed Not stated Amazon Linux assessment
Alpine Linux v3.24 perl Fixed 5.42.3-r0 Package fix record
Debian bookworm perl Advisory build 5.36.0-7+deb12u4 DLA-4821-1
Show 6 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 perl-Archive-Tarnoarch Listed in advisory Not stated ALAS2-2026-3347
Amazon Linux AL2 perl-Archive-Tarsrc Listed in advisory Not stated ALAS2-2026-3347
Amazon Linux AL2023 perl-Archive-Tarnoarch Listed in advisory Not stated ALAS2023-2026-1805
Amazon Linux AL2023 perl-Archive-Tarsrc Listed in advisory Not stated ALAS2023-2026-1805

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
BINGOS Archive::Tar 0 to < 3.08 (affected · custom)Default: unaffected CPANSec · cna
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) V3.1.7 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

2
  • CWE-59 CWE-59 Improper Link Resolution Before File Access ('Link Following') (CPANSec · cna)
  • CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource (CPANSec · cna)

References

4

Provider assertions

3

CPANSec · cna

Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
75bdf71ffbf4be620b136ae9f139127c7b08a005aa389f57a1cdfce6b8337376
Ingested
10 Nov 2026, 12:51:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected