{"id":"CVE-2026-42496","aliases":["CVE-2026-42496"],"related":[],"kind":"vulnerability","state":"published","title":"Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory","summary":"Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.\n\n_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.\n\nA subsequent open through the extracted name reads or writes the attacker chosen path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside the extraction directory.\n\n_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.\n\nA subsequent open through the extracted name reads or writes the attacker chosen path.","source":"cvelist"},{"lang":"es","text":"Las versiones de Archive::Tar anteriores a la 3.08 para Perl extraen enlaces simbólicos con objetivos controlados por el atacante fuera del directorio de extracción.\n\n_make_special_file() pasa el linkname de la cabecera tar a symlink() sin validarlo contra rutas absolutas o segmentos .. La comprobación del modo de extracción segura que protege la extracción de archivos regulares no cubre el objetivo del enlace simbólico.\n\nUna apertura posterior a través del nombre extraído lee o escribe la ruta elegida por el atacante.","source":"nvd"}],"published":"2026-05-26T00:17:19.110Z","modified":"2026-11-10T13:19:07.123Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-22","CWE-59"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"3.08","status":"affected"}],"vendor":"BINGOS","product":"Archive::Tar","package":"Archive-Tar","repo":"https://github.com/jib/archive-tar-new","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.02-512.el10_2.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"perl-Archive-Tar","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"8100020260616084412.651ee29f","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"perl:5.32","cpe":"cpe:/a:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.30-2.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"perl-Archive-Tar","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.38-6.el9_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"perl-Archive-Tar","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"perl-Archive-Tar","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.08"}],"vendor":"archive::tar_project","product":"archive::tar","cpe":"cpe:2.3:a:archive\\:\\:tar_project:archive\\:\\:tar:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42497","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42496","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2481314","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42496.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30857","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30851","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30856","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30852","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-28T13:08:28.377Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42496","url":"https://www.cve.org/CVERecord?id=CVE-2026-42496","licence":"CVE Terms of Use","modified":"2026-11-10T12:45:55.887Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42496","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42496","licence":"Public domain","modified":"2026-11-10T13:19:07.123Z"}],"updatedAt":"2026-11-25T22:59:22.303Z","epss":{"score":0.00565,"percentile":0.48302,"date":"2026-12-01T12:00:22.000Z"}}