Skip to content
OpenAdvisories

Description

In CPython 3.13 and earlier, the tarfile module's data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.

Affected products

VendorProductAffectedFixed
Python Software Foundation CPython < 3.10.22, 3.11.0 – < 3.11.17, 3.12.0 – < 3.12.15, 3.13.0 – < 3.13.16, 3.14.0a1 – < 3.14.0b1 3.10.22

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pypy3 8.0.1+dfsg-1 —
Debian 13 pypy3 +1 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pypy3 +1 No fix yet —
Ubuntu 26.04 LTS pypy3 +1 No fix yet —
Ubuntu 24.04 LTS pypy3 +1 No fix yet —
Ubuntu 22.04 LTS pypy3 +1 No fix yet —
Ubuntu 20.04 LTS pypy3 No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS python2.7 +1 No fix yet —
Ubuntu Pro 20.04 LTS python2.7 +2 No fix yet —
Ubuntu Pro 18.04 LTS python2.7 +3 No fix yet —
Ubuntu Pro 16.04 LTS python2.7 +1 No fix yet —
Ubuntu Pro 14.04 LTS python2.7 +2 No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 python3 +15 3.14.7-1.1.hum1 RHSA-2026:65505
Red Hat Hardened Images 1 python3.10 +6 3.10.21-1.3.hum1 RHSA-2026:68132
Red Hat Hardened Images 1 python3.11 +6 3.11.16-1.4.hum1 RHSA-2026:68135
Red Hat Hardened Images 1 python3.12 +6 3.12.14-1.3.hum1 RHSA-2026:68154
Red Hat Hardened Images 1 python3.13 +8 3.13.15-1.3.hum1 RHSA-2026:68309
ReleasePackageFixed inAdvisory
SLES 15 SP7 python +1 2.7.18-150000.136.1 SUSE-SU-2026:4738-1
SLES 15 SP7 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES 15 SP7 python311-core 3.11.17-150600.3.74.1 SUSE-SU-2026:4946-1
SLES 15 SP6 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES 15 SP6 python311 +1 3.11.17-150600.3.74.1 SUSE-SU-2026:4946-1
SLES 15 SP6 python312 +1 3.12.15-150600.3.71.1 SUSE-SU-2026:4659-1
SLES 15 SP5 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES 15 SP5 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
SLES 15 SP4 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES 15 SP4 python310 +1 3.10.22-150400.4.129.1 SUSE-SU-2026:4630-1
SLES 15 SP4 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
SLES 12 SP5 python +2 2.7.18-33.93.1 SUSE-SU-2026:4904-1
SLES 12 SP5 python3 +1 3.4.10-25.199.1 SUSE-SU-2026:4744-1
SLES 12 SP5 python36 +1 3.6.15-125.1 SUSE-SU-2026:4743-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python311 +1 3.11.17-150600.3.74.1 SUSE-SU-2026:4946-1
SLES 3 python313 +1 3.13.16-150700.4.61.1 SUSE-SU-2026:4941-1
SLES for SAP 15 SP6 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES for SAP 15 SP6 python311 +1 3.11.17-150600.3.74.1 SUSE-SU-2026:4946-1
SLES for SAP 15 SP6 python312 +1 3.12.15-150600.3.71.1 SUSE-SU-2026:4659-1
SLES for SAP 15 SP5 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES for SAP 15 SP5 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
SLES for SAP 15 SP4 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLES for SAP 15 SP4 python310 +1 3.10.22-150400.4.129.1 SUSE-SU-2026:4630-1
SLES for SAP 15 SP4 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
SLE Micro 6.1 python311 +1 3.11.17-slfo.1.1_1.1 SUSE-SU-2026:24280-1
SLE Micro 6.0 python311 +1 3.11.17-159998.1.1 SUSE-SU-2026:24325-1
SLE Micro 5.5 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLE Micro 5.4 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLE Micro 5.3 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLE HPC 15 SP5 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLE HPC 15 SP5 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
SLE HPC 15 SP4 python3 +1 3.6.15-150300.10.129.1 SUSE-SU-2026:4754-1
SLE HPC 15 SP4 python310 +1 3.10.22-150400.4.129.1 SUSE-SU-2026:4630-1
SLE HPC 15 SP4 python311 +2 3.11.17-150400.9.105.1 SUSE-SU-2026:4809-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python310 3.10.22-1.1 openSUSE-SU-2026:12087-1
openSUSE Tumbleweed python311 3.11.17-1.1 openSUSE-SU-2026:12121-1
openSUSE Tumbleweed python312 3.12.15-1.1 openSUSE-SU-2026:12122-1
openSUSE Tumbleweed python313 3.13.16-1.1 openSUSE-SU-2026:12123-1
openSUSE Tumbleweed python315 3.15.0~rc3-1.1 openSUSE-SU-2026:12069-1
ReleasePackageFixed inAdvisory
Alpine v3.24 python3 3.14.8-r0 —
Alpine v3.23 python3 3.12.15-r0 —
Alpine v3.22 python3 3.12.15-r0 —
Alpine v3.21 python3 3.12.15-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 python3.11 +6 3.11.17-1.amzn2023.0.1 ALAS2023-2026-3231
Amazon Linux 2023 python3.12 +6 3.12.15-2.amzn2023.0.1 ALAS2023-2026-3230
Amazon Linux 2023 python3.13 +8 3.13.16-1.amzn2023.0.1 ALAS2023-2026-3229

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python3 3.12.15-1 —
Azure Linux 3 tensorflow No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling python-3.10 3.10.22-r1 —
Wolfi rolling python-3.11 3.11.17-r1 —
Wolfi rolling python-3.12 3.12.15-r0 —
Wolfi rolling python-3.13 3.13.15_git20260912-r0 —

Advisories 26

References