CVE-2026-42496 Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory
CriticalCVSS 9.1
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
21 packages: 15 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/perl:5.32-8100020260616084412.651ee29f(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.7 | No fix listed | No fix yet |
| alpine/perl(Alpine v3.24) | < 5.42.3-r0 | 5.42.3-r0 | Fixed |
| archivetar project archivetar | < 3.08 | 3.08 | Fixed |
| azure linux perl(Azure Linux 3.0) | < 5.38.2-510 | 5.38.2-510 | Fixed |
| azure linux perl(Azure Linux 4.0) | < 4:5.42.3-529.azl4 | 4:5.42.3-529.azl4 | Fixed |
| BINGOS Archive::Tar | < 3.08 | 3.08 | Fixed |
| debian/perl(Debian 12) | < 5.36.0-7+deb12u4; = 5.36.0-7; = 5.36.0-7+deb12u1; = 5.36.0-7+deb12u2 +1 more | 5.36.0-7+deb12u4 | Fixed |
| debian/perl(Debian 13) | < 5.40.1-6+deb13u1; = 5.40.1-6 | 5.40.1-6+deb13u1 | Fixed |
| debian/perl(Debian 14) | < 5.42.3-1; = 5.40.1-6; = 5.40.1-7; = 5.40.1-8 +6 more | 5.42.3-1 | Fixed |
| redhat enterprise linux | < 0:2.30-2.el8_10; < 0:2.38-6.el9_8.1; < 0:3.02-512.el10_2.1; < 8100020260616084412.651ee29f +1 more | 0:2.30-2.el8_10, 0:2.38-6.el9_8.1, 0:3.02-512.el10_2.1, 8100020260616084412.651ee29f | Fixed |
| redhat/perl-Archive-Tar(Red Hat enterprise_linux 10.2) | < 3.02-512.el10_2.1 | 3.02-512.el10_2.1 | Fixed |
| redhat/perl-Archive-Tar(Red Hat enterprise_linux 8) | < 2.30-2.el8_10 | 2.30-2.el8_10 | Fixed |
| redhat/perl-Archive-Tar(Red Hat enterprise_linux 9) | < 2.38-6.el9_8.1 | 2.38-6.el9_8.1 | Fixed |
| ubuntu/perl(Ubuntu 22.04) | < 5.34.0-3ubuntu1.7 | 5.34.0-3ubuntu1.7 | Fixed |
| ubuntu/perl(Ubuntu 24.04) | < 5.38.2-3.2ubuntu0.3 | 5.38.2-3.2ubuntu0.3 | Fixed |
| ubuntu/perl(Ubuntu 26.04) | < 5.40.1-7ubuntu0.1 | 5.40.1-7ubuntu0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| BINGOS Archive::Tar | < 3.08 | 3.08 |
| redhat enterprise linux | < 0:3.02-512.el10_2.1 | 0:3.02-512.el10_2.1 |
| redhat enterprise linux | < 8100020260616084412.651ee29f | 8100020260616084412.651ee29f |
| redhat enterprise linux | < 0:2.30-2.el8_10 | 0:2.30-2.el8_10 |
| redhat enterprise linux | < 0:2.38-6.el9_8.1 | 0:2.38-6.el9_8.1 |
| redhat enterprise linux | = 7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.7 | No fix listed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.7 | No fix listed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.7 | No fix listed |
| redhat/perl-Archive-Tar(Red Hat:enterprise_linux:10.2) | < 3.02-512.el10_2.1 | 3.02-512.el10_2.1 |
| redhat/perl:5.32-8100020260616084412.651ee29f(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/perl-Archive-Tar(Red Hat:enterprise_linux:8) | < 2.30-2.el8_10 | 2.30-2.el8_10 |
| redhat/perl-Archive-Tar(Red Hat:enterprise_linux:9) | < 2.38-6.el9_8.1 | 2.38-6.el9_8.1 |
| redhat/perl-Archive-Tar(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/perl(Debian:12) | < 5.36.0-7+deb12u4 | 5.36.0-7+deb12u4 |
| debian/perl(Debian:12) | = 5.36.0-7 | No fix listed |
| debian/perl(Debian:12) | = 5.36.0-7+deb12u1 | No fix listed |
| debian/perl(Debian:12) | = 5.36.0-7+deb12u2 | No fix listed |
| debian/perl(Debian:12) | = 5.36.0-7+deb12u3 | No fix listed |
| debian/perl(Debian:13) | < 5.40.1-6+deb13u1 | 5.40.1-6+deb13u1 |
| debian/perl(Debian:13) | = 5.40.1-6 | No fix listed |
| debian/perl(Debian:14) | < 5.42.3-1 | 5.42.3-1 |
| debian/perl(Debian:14) | = 5.40.1-6 | No fix listed |
Show 15 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/perl(Debian:14) | = 5.40.1-7 | No fix listed |
| debian/perl(Debian:14) | = 5.40.1-8 | No fix listed |
| debian/perl(Debian:14) | = 5.42.0-1 | No fix listed |
| debian/perl(Debian:14) | = 5.42.0-2 | No fix listed |
| debian/perl(Debian:14) | = 5.42.0-3 | No fix listed |
| debian/perl(Debian:14) | = 5.42.2-1 | No fix listed |
| debian/perl(Debian:14) | = 5.42.2-2 | No fix listed |
| debian/perl(Debian:14) | = 5.42.2-3 | No fix listed |
| ubuntu/perl(Ubuntu:22.04) | < 5.34.0-3ubuntu1.7 | 5.34.0-3ubuntu1.7 |
| alpine/perl(Alpine:v3.24) | < 5.42.3-r0 | 5.42.3-r0 |
| ubuntu/perl(Ubuntu:24.04) | < 5.38.2-3.2ubuntu0.3 | 5.38.2-3.2ubuntu0.3 |
| ubuntu/perl(Ubuntu:26.04) | < 5.40.1-7ubuntu0.1 | 5.40.1-7ubuntu0.1 |
| archivetar project archivetar | < 3.08 | 3.08 |
| azure linux perl(Azure Linux:3.0) | < 5.38.2-510 | 5.38.2-510 |
| azure linux perl(Azure Linux:4.0) | < 4:5.42.3-529.azl4 | 4:5.42.3-529.azl4 |
References
- github.com patch
- metacpan.org release-notes
- www.cve.org related third-party-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2481314 issue-tracking
- security.access.redhat.com
- RHSA-2026:30857 patch vendor-advisory
- RHSA-2026:30851 patch vendor-advisory
- RHSA-2026:30856 patch vendor-advisory
- RHSA-2026:30852 patch vendor-advisory
- cert-portal.siemens.com
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-42496 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8467-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking