All reports
Critical

UBUNTU-CVE-2026-42496

Affected versions

Affected versions
<5.34.0-3ubuntu1.7
Fixed version
5.34.0-3ubuntu1.7
Affected versions
<5.38.2-3.2ubuntu0.3
Fixed version
5.38.2-3.2ubuntu0.3
Affected versions
<5.40.1-6ubuntu0.1
Fixed version
5.40.1-6ubuntu0.1
Affected versions
<5.40.1-7ubuntu0.1
Fixed version
5.40.1-7ubuntu0.1
Affected versions
<5.18.2-2ubuntu1.7+esm7
Fixed version
5.18.2-2ubuntu1.7+esm7
Affected versions
<5.26.1-6ubuntu0.7+esm2
Fixed version
5.26.1-6ubuntu0.7+esm2
Affected versions
<5.30.0-9ubuntu0.5+esm2
Fixed version
5.30.0-9ubuntu0.5+esm2

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.

Links