cve.bz

CVE-2026-42496 archive\ \: Link Following

9.1 criticalEPSS 0.5%Fix available

Critical (9.1) in archive\ \. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-59 Improper Link Resolution Before File Access (Link Following)
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
CPANSec (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42496 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42496?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42496?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42496 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • archive\:\

Versions

From the CNA's record in the CVE List.

ProductAffected
BINGOS Archive::Tarbefore 3.08

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12perl5.36.0-7+deb12u4DEBIAN-CVE-2026-42496 DLA-4821-1
Debian13perl5.40.1-6+deb13u1DEBIAN-CVE-2026-42496
Debian14perl5.42.3-1DEBIAN-CVE-2026-42496
Ubuntu22.04:LTSperl5.34.0-3ubuntu1.7UBUNTU-CVE-2026-42496
Ubuntu24.04:LTSperl5.38.2-3.2ubuntu0.3UBUNTU-CVE-2026-42496
Ubuntu25.10perl5.40.1-6ubuntu0.1UBUNTU-CVE-2026-42496 USN-8467-2
Ubuntu26.04:LTSperl5.40.1-7ubuntu0.1UBUNTU-CVE-2026-42496
UbuntuPro:14.04:LTSperl5.18.2-2ubuntu1.7+esm7UBUNTU-CVE-2026-42496 USN-8467-1
UbuntuPro:16.04:LTSperl5.22.1-9ubuntu0.9+esm2USN-8467-1
UbuntuPro:18.04:LTSperl5.26.1-6ubuntu0.7+esm2UBUNTU-CVE-2026-42496 USN-8467-1
UbuntuPro:20.04:LTSperl5.30.0-9ubuntu0.5+esm2UBUNTU-CVE-2026-42496 USN-8467-1
Red Hatenterprise_linux:8::appstreamperl, perl-libs, perl-devel and 7 more4:5.32.1-474.module+el8.10.0+24099+8aa2f756RHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-Algorithm-Diff0:1.1903-10.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-Archive-Tar0:2.38-4.module+el8.10.0+24402+ce90c7a0RHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-Archive-Zip0:1.68-3.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-Attribute-Handlers0:1.01-474.module+el8.10.0+24099+8aa2f756RHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-AutoSplit, perl-AutoLoader0:5.74-474.module+el8.10.0+24099+8aa2f756RHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-B, perl-B-debuginfo0:1.80-474.module+el8.10.0+24099+8aa2f756RHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-CPAN0:2.28-5.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-CPAN-DistnameInfo0:0.12-13.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta0:2.150010-397.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-Requirements0:2.140-397.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
Red Hatenterprise_linux:8::appstreamperl-CPAN-Meta-YAML0:0.018-1001.module+el8.10.0+21354+3ad137bbRHSA-2026:30851
172 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8perl, perl-libs, perl-devel and 3 more4:5.32.1-474.module_el8.10.0+4162+0aac7c4cALSA-2026:30851
AlmaLinux8perl-Algorithm-Diff1.1903-10.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-Archive-Tar2.30-2.el8_10ALSA-2026:30852
AlmaLinux8perl-Archive-Tar2.38-4.module_el8.10.0+4205+6175afdaALSA-2026:30851
AlmaLinux8perl-Archive-Zip1.68-3.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-Attribute-Handlers1.01-474.module_el8.10.0+4162+0aac7c4cALSA-2026:30851
AlmaLinux8perl-B1.80-474.module_el8.10.0+4162+0aac7c4cALSA-2026:30851
AlmaLinux8perl-CPAN2.28-5.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-CPAN-DistnameInfo0.12-13.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-CPAN-Meta2.150010-397.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-CPAN-Meta-Requirements2.140-397.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
AlmaLinux8perl-CPAN-Meta-YAML0.018-1001.module_el8.6.0+2766+8bf0b7ceALSA-2026:30851
93 more for AlmaLinux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important vulnerability in `perl-Archive-Tar` that allows for arbitrary file access due to a path traversal flaw when extracting specially crafted tar archives. An attacker could exploit this by creating a malicious archive containing symlinks that point outside the intended extraction directory, potentially leading to unauthorized information disclosure or data corruption on the system. This risk is elevated in environments where untrusted archives are processed.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10perl-Archive-Tar-0:3.02-512.el10_2.1Fixed 2026-06-29RHSA-2026:30857
Red Hat Enterprise Linux 8perl:5.32-8100020260616084412.651ee29fFixed 2026-06-29RHSA-2026:30851
Red Hat Enterprise Linux 8perl-Archive-Tar-0:2.30-2.el8_10Fixed 2026-06-29RHSA-2026:30852
Red Hat Enterprise Linux 9perl-Archive-Tar-0:2.38-6.el9_8.1Fixed 2026-06-29RHSA-2026:30856
Red Hat Enterprise Linux 7perl-Archive-TarOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42496.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON