Skip to main content
VulnerabilityPublished Updated

CVE-2026-42496: Archive::Tar versions before 3.08 for Perl extract symlinks with attacker controlled targets outside

Affects perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-42496· Critical 9.1

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

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
CVSS scores by source
CISA-ADPCVSS 3.19.1
ADP (redhat-SADP)CVSS 3.18.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=resoluteOther threatsAffected
  • <5.40.1-7ubuntu0.1
Fixed in
  • 5.40.1-7ubuntu0.1
Ubuntu 25.10perlpkg:deb/ubuntu/perl?arch=source&distro=questingOther threatsAffected
  • <5.40.1-6ubuntu0.1
Fixed in
  • 5.40.1-6ubuntu0.1
Ubuntu 24.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=nobleOther threatsAffected
  • <5.38.2-3.2ubuntu0.3
Fixed in
  • 5.38.2-3.2ubuntu0.3
Ubuntu 22.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=jammyOther threatsAffected
  • <5.34.0-3ubuntu1.7
Fixed in
  • 5.34.0-3ubuntu1.7
Ubuntu Pro 20.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/focalOther threatsAffected
  • <5.30.0-9ubuntu0.5+esm2
Fixed in
  • 5.30.0-9ubuntu0.5+esm2
Ubuntu Pro 18.04 LTSperlpkg:deb/ubuntu/perl?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <5.26.1-6ubuntu0.7+esm2
Fixed in
  • 5.26.1-6ubuntu0.7+esm2

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

Community reviews

Loading reviews…