CVE-2026-42496

Publication date 26 May 2026

Last updated 26 June 2026


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

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.

Status

Package Ubuntu Release Status
perl 26.04 LTS resolute
Fixed 5.40.1-7ubuntu0.1
25.10 questing
Vulnerable
24.04 LTS noble
Fixed 5.38.2-3.2ubuntu0.3
22.04 LTS jammy
Fixed 5.34.0-3ubuntu1.7
20.04 LTS focal
Fixed 5.30.0-9ubuntu0.5+esm2
18.04 LTS bionic
Fixed 5.26.1-6ubuntu0.7+esm2
16.04 LTS xenial
Fixed 5.22.1-9ubuntu0.9+esm2
14.04 LTS trusty
Fixed 5.18.2-2ubuntu1.7+esm7

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Severity score breakdown

CVSS version: CVSS v3.0

Base score 9.1 · Critical

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N


Access our resources on patching vulnerabilities