| Name | CVE-2026-42496 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1138860 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| perl (PTS) | bullseye | 5.32.1-4+deb11u3 | vulnerable |
| bullseye (security) | 5.32.1-4+deb11u5 | vulnerable |
| bookworm | 5.36.0-7+deb12u3 | vulnerable |
| bookworm (security) | 5.36.0-7+deb12u2 | vulnerable |
| trixie | 5.40.1-6 | vulnerable |
| forky, sid | 5.40.1-8 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| perl | source | (unstable) | (unfixed) | | | 1138860 |
Notes
[trixie] - perl <postponed> (Minor issue; wait for regressions upstream sorted out)
[bookworm] - perl <postponed> (Minor issue; wait for regressions upstream sorted out)
https://lists.security.metacpan.org/cve-announce/msg/40396459/
https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158 (3.08)