CVE-2026-42496: Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside
Affects perlSource GCVE Database
Not known to be exploited · CVSS 9.1 Critical · fixed in 5.18.2-2ubuntu1.7+esm7 : patch perl as a priority.
Data as of 24 Nov 2026, 21:15 UTC
Contested
Critical score, yet low EPSS after six months| CISA-ADP | CVSS 3.1 | 9.1 |
|---|---|---|
| ADP (redhat-SADP) | CVSS 3.1 | 8.2 |
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.18.2-2ubuntu1.7+esm7, 5.26.1-6ubuntu0.7+esm2, 5.30.0-9ubuntu0.5+esm2 +4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 26 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10perlpkg:deb/ubuntu/perl?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-42496 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42496 (opens in a new tab)
- lists.security.metacpan.org/cve-announce/msg/40396459/ (opens in a new tab)
- github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch (opens in a new tab)
- metacpan.org/release/BINGOS/Archive-Tar-3.08/changes (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-42497 (opens in a new tab)
- ubuntu.com/security/notices/USN-8467-1 (opens in a new tab)