{"id":"CVE-2026-42497","published":"2026-05-26T00:17:50Z","modified":"2026-11-10T12:45:57Z","title":"Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction…","vendor":"BINGOS","product":"Archive::Tar","tier":"tail","description":{"text":"Archive::Tar versions before 3.08 for Perl extract hardlinks to attacker controlled paths outside the extraction directory.\n\n_make_special_file() passes the tar header's linkname to link() without validating it against absolute paths or .. segments, creating a hardlink that shares the victim file's inode.\n\nA subsequent write through the extracted name modifies the victim file, and the post-extraction chmod, chown, and utime block in _extract_file() (guarded only against symlinks via -l) applies the tar header's mode, owner, and timestamps to the shared inode during extraction alone.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00473,"percentile":0.41821,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch","tags":["patch"]},{"url":"https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes","tags":["release-notes"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42496","tags":["related"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.36},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"bingos","affectedVersions":[{"vendor":"BINGOS","product":"Archive::Tar","versions":["< 3.08"]}],"solutions":{"items":["Upgrade to Archive::Tar 3.08 or later."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-28T13:13:55.750345Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31777","exploited":false,"provenance":"source"}}