CVE-2026-42496
No exploitation reported by the sources we read.
- Published2026-05-26
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 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
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
Red Hat Security Advisory: perl-Archive-Tar security update
Red Hat Security Advisory: perl:5.32 security update
Red Hat Security Advisory: perl-Archive-Tar security update
Red Hat Security Advisory: perl-Archive-Tar security update
Fix
- 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
- 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.
- 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
- NVDCVE record2026-07-24
- FIRST EPSSEPSS score0.4 %2026-10-22
- OSVaffected packages—
- Microsoft MSRCadvisory—
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?
Is CVE-2026-42496 actively exploited?
What is the CVSS score for CVE-2026-42496?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.