Advisory

UBUNTU-CVE-2026-42496

Also known as: CVE-2026-42496

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-05-26 02:16 UTC
Modified
2026-07-01 18:56 UTC

Affected packages and fixes

perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 5.34.0-3ubuntu1.7 (ecosystem)

Fixed versions

5.34.0-3ubuntu1.7

Fix

  • Fixed version 5.34.0-3ubuntu1.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

perl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 5.38.2-3.2ubuntu0.3 (ecosystem)

Fixed versions

5.38.2-3.2ubuntu0.3

Fix

  • Fixed version 5.38.2-3.2ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

perl

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 5.40.1-6ubuntu0.1 (ecosystem)

Fixed versions

5.40.1-6ubuntu0.1

Fix

  • Fixed version 5.40.1-6ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

perl

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 5.40.1-7ubuntu0.1 (ecosystem)

Fixed versions

5.40.1-7ubuntu0.1

Fix

  • Fixed version 5.40.1-7ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences