{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "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.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Archive-Tar-2026-42496 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-archive-tar-2026-42496.json" }, { "category": "external", "summary": "https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch", "url": "https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch" }, { "category": "external", "summary": "https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes", "url": "https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2026-42497", "url": "https://www.cve.org/CVERecord?id=CVE-2026-42497" }, { "category": "external", "summary": "CVE-2026-42496 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42496" } ], "title": "Archive-Tar vulnerability", "tracking": { "current_release_date": "2026-05-26T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.26" } }, "id": "CPANSA-Archive-Tar-2026-42496", "initial_release_date": "2026-05-26T00:00:00", "revision_history": [ { "date": "2026-05-26T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/<3.08", "product": { "name": "Archive-Tar less than 3.08", "product_id": "CSAFPID-0001", "product_identification_helper": { "purl": "pkg:cpan/Archive-Tar" } } }, { "category": "product_version_range", "name": "vers:cpan/>=3.08", "product": { "name": "Archive-Tar greater than or equal 3.08", "product_id": "CSAFPID-0002", "product_identification_helper": { "purl": "pkg:cpan/Archive-Tar" } } } ], "category": "product_name", "name": "Archive-Tar" } ] }, "vulnerabilities": [ { "cve": "CVE-2026-42496", "cwe": { "id": "CWE-59", "name": "Improper Link Resolution Before File Access ('Link Following')" }, "notes": [ { "category": "description", "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.", "title": "Vulnerability Description" } ], "product_status": { "fixed": [ "CSAFPID-0002" ], "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 9.1, "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }