{"schemaVersion":3,"id":"CVE-2026-42496","aliases":["RHSA-2026:30852","RHSA-2026:30856","RHSA-2026:30857","UBUNTU-CVE-2026-42496","DEBIAN-CVE-2026-42496"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-05-26T00:17:19.110Z","modified":"2026-07-15T00:57:33.692Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":10,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0043,"percentile":0.36149,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.0043},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0043,"percentile":0.36149}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00514,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0043,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0043,"percentile":0.36149}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"bingos","product":"archive::tar","name":"Archive::Tar","label":"archive::tar","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.08","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.08","eol":null,"hubHref":null},{"vendor":"debian","product":"perl","name":"perl","label":"perl","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/perl","purlType":"deb","versions":[{"text":"< 5.36.0-7+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-6+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.42.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.36.0-7+deb12u4 | < 5.40.1-6+deb13u1 | < 5.42.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"perl","name":"perl","label":"perl","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/perl","purlType":"deb","versions":[{"text":"< 5.18.2-2ubuntu1.7+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 5.26.1-6ubuntu0.7+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.30.0-9ubuntu0.5+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5.34.0-3ubuntu1.7","noFixRecorded":false,"fixedIn":null},{"text":"< 5.38.2-3.2ubuntu0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-6ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.40.1-7ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.18.2-2ubuntu1.7+esm7 | < 5.26.1-6ubuntu0.7+esm2 | < 5.30.0-9ubuntu0.5+esm2 | < 5.34.0-3ubuntu1.7 | < 5.38.2-3.2ubuntu0.3 | < 5.40.1-6ubuntu0.1 | < 5.40.1-7ubuntu0.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"perl-Archive-Tar","name":"perl-Archive-Tar","label":"perl-Archive-Tar","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/perl-Archive-Tar","purlType":"rpm","versions":[{"text":"< 0:2.30-2.el8_10","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.38-6.el9_8.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:3.02-512.el10_2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.30-2.el8_10 | < 0:2.38-6.el9_8.1 | < 0:3.02-512.el10_2.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch","label":"github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch","hostname":"github.com","tags":["Patch","ARTICLE","REPORT"]},{"url":"https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes","label":"metacpan.org/release/BINGOS/Archive-Tar-3.08/changes","hostname":"metacpan.org","tags":["Release Notes","ARTICLE","REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42497","label":"www.cve.org/CVERecord?id=CVE-2026-42497","hostname":"www.cve.org","tags":["Related","Advisory","REPORT","Third Party Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-42496","label":"access.redhat.com/security/cve/CVE-2026-42496","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2481314","label":"bugzilla.redhat.com/show_bug.cgi?id=2481314","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42496.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42496.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30857","label":"access.redhat.com/errata/RHSA-2026:30857","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30851","label":"access.redhat.com/errata/RHSA-2026:30851","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30856","label":"access.redhat.com/errata/RHSA-2026:30856","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30852","label":"access.redhat.com/errata/RHSA-2026:30852","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30852.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30852.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42496","label":"www.cve.org/CVERecord?id=CVE-2026-42496","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42496","label":"nvd.nist.gov/vuln/detail/CVE-2026-42496","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30856.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30856.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30857.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30857.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-42496","label":"ubuntu.com/security/CVE-2026-42496","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/40396459/","label":"lists.security.metacpan.org/cve-announce/msg/40396459/","hostname":"lists.security.metacpan.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8467-1","label":"ubuntu.com/security/notices/USN-8467-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-42496","label":"security-tracker.debian.org/tracker/CVE-2026-42496","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0230","RHSA-2026:30851","USN-8467-1","USN-8467-2"],"duplicates":[],"related":["USN-8467-1"]},"timeline":[{"kind":"published","date":"2026-05-26T00:17:19.110Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T00:57:33.692Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T06:31:02.064Z","stale":false,"partial":false}}