CVE-2026-42496: Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extra
CVE-2026-42496 is a critical-severity flaw (CVSS 9.1) affecting \. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:30856] Important: perl-Archive-Tar security update 2026-06-30
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42496?
\: upgrade to 3.08. Exact commands for each OS are on this page.
Is CVE-2026-42496 being exploited?
CVE-2026-42496 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42496 affect?
CVE-2026-42496 affects \. Severity is critical (CVSS 9.1). 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
How urgent is CVE-2026-42496?
Priority 48/100. Critical severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-9390 CRITICAL 9.1 UPGRADE XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup. verify() and _get_signed_xml() in
- CVE-2026-9487 CRITICAL 9.1 UPGRADE XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID. _get_signed_xml() in lib/XM
- CVE-2026-18568 HIGH 7.5 UPGRADE XML::Sig versions from 0.29 before 0.72 for Perl allow signature verification bypass because verify returns tr
- CVE-2026-42497 HIGH 7.5 UPGRADE Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extracti
- CVE-2026-9538 HIGH 7.5 UPGRADE Archive::Tar versions before 3.10 for Perl allow memory exhaustion via attacker controlled entry size field in