Bug 2481314 (CVE-2026-42496) - CVE-2026-42496 perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access
Summary: CVE-2026-42496 perl-archive-tar: perl-archive-tar: Path traversal via crafted...
Keywords:
Status: NEW
Alias: CVE-2026-42496
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2484320
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 02:01 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:09 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:30851 0 None None None 2026-06-29 03:50:14 UTC
Red Hat Product Errata RHSA-2026:30852 0 None None None 2026-06-29 02:20:42 UTC
Red Hat Product Errata RHSA-2026:30856 0 None None None 2026-06-29 04:34:40 UTC
Red Hat Product Errata RHSA-2026:30857 0 None None None 2026-06-29 18:09:04 UTC

Description OSIDB Bzimport 2026-05-26 02:01:14 UTC
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.

Comment 2 errata-xmlrpc 2026-06-29 02:20:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:30852 https://access.redhat.com/errata/RHSA-2026:30852

Comment 3 errata-xmlrpc 2026-06-29 03:50:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:30851 https://access.redhat.com/errata/RHSA-2026:30851

Comment 4 errata-xmlrpc 2026-06-29 04:34:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:30856 https://access.redhat.com/errata/RHSA-2026:30856

Comment 5 errata-xmlrpc 2026-06-29 18:09:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:30857 https://access.redhat.com/errata/RHSA-2026:30857


Note You need to log in before you can comment on or make changes to this bug.