Skip to main content
No exploitation reported

CVE-2026-42496

No exploitation reported by the sources we read.

  • Published2026-05-26

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-2602:16CVE publishedNVD

Versions per branch

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • perlAlmaLinux:8all versions · fixed in 4:5.32.1-474.module_el8.10.0+4162+0aac7c4cand 5 other packages
  • perl-Algorithm-DiffAlmaLinux:8all versions · fixed in 1.1903-10.module_el8.6.0+2766+8bf0b7ce
  • perl-Archive-TarAlmaLinux:10all versions · fixed in 3.02-512.el10_2.1
  • perl-Archive-TarAlmaLinux:9all versions · fixed in 2.38-6.el9_8.1
  • perl-Archive-TarAlmaLinux:8all versions · fixed in 2.30-2.el8_10
  • perl-Archive-ZipAlmaLinux:8all versions · fixed in 1.68-3.module_el8.6.0+2766+8bf0b7ce
  • perl-Attribute-HandlersAlmaLinux:8all versions · fixed in 1.01-474.module_el8.10.0+4162+0aac7c4c
  • perl-autodieAlmaLinux:8all versions · fixed in 2.34-1.module_el8.6.0+2766+8bf0b7ce

176 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-42496 Red Hat Product Security800 products fixed · 2 known affected

    perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access

    perl-Archive-Tar as a component of Red Hat Enterprise Linux 7 · perl-Archive-Tar.src as a component of Red Hat Enterprise Linux 7

  • RHSA-2026:30857 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: perl-Archive-Tar security update

  • RHSA-2026:30851 Red Hat Product Security794 products fixed

    Red Hat Security Advisory: perl:5.32 security update

  • RHSA-2026:30856 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: perl-Archive-Tar security update

  • RHSA-2026:30852 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: perl-Archive-Tar security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2026:30857 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2026:30857 · 2 productsMitigation 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.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2026-42496 · 2 productsOut of support scope

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U
Published
2026-05-26
Last Modified
2026-07-24
MSRC Title
Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory

Frequently asked questions

What is CVE-2026-42496?

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.

Is CVE-2026-42496 actively exploited?

Active exploitation of CVE-2026-42496 has not been confirmed. Its EPSS score was 0.4% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-42496?

CVE-2026-42496 has a CVSS v3 base score of 9.1 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U.

Running perl-archive-tar? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month