Advisory

DEBIAN-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-11-11 09:47 UTC

Affected packages and fixes

perl

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 5.36.0-7+deb12u4 (ecosystem)

Fixed versions

5.36.0-7+deb12u4

Fix

  • Fixed version 5.36.0-7+deb12u4
    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) · Debian 13

Affected

  • introduced 0, fixed 5.40.1-6+deb13u1 (ecosystem)

Fixed versions

5.40.1-6+deb13u1

Fix

  • Fixed version 5.40.1-6+deb13u1
    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) · Debian 14

Affected

  • introduced 0, fixed 5.42.3-1 (ecosystem)

Fixed versions

5.42.3-1

Fix

  • Fixed version 5.42.3-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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences