Description
The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Python Software Foundation | CPython | < 3.10.21, 3.11.0 – < 3.11.16, 3.12.0 – < 3.12.14, 3.13.0 – < 3.13.13, 3.14.0 – < 3.14.4, 3.15.0a1 – < 3.15.0a8 | 3.10.21 |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python3.14 | 3.14.3-4 | — |
| Debian 13 | python3.13 | 3.13.5-2+deb13u1 | — |
| Debian 12 | python3.11 | 3.11.2-6+deb12u8 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | python3.14 | 3.14.4-1ubuntu0.1 | USN-8509-1 |
| Ubuntu 25.10 | python3.13 +1 | No fix yet | — |
| Ubuntu 24.04 LTS | python3.12 | 3.12.3-1ubuntu0.15 | USN-8509-1 |
| Ubuntu 22.04 LTS | python3.10 | 3.10.12-1~22.04.16 | USN-8509-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | python3 +15 | 3.14.4-1.hum1 | RHSA-2026:7661 |
| Red Hat Hardened Images 1 | python3.11 +6 | 3.11.15-4.2.hum1 | RHSA-2026:11324 |
| Red Hat Hardened Images 1 | python3.12 +6 | 3.12.13-3.1.hum1 | RHSA-2026:10118 |
| Red Hat Hardened Images 1 | python3.13 +8 | 3.13.13-1.hum1 | RHSA-2026:7443 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python +1 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 |
| SLES 15 SP7 | python311-core | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| SLES 15 SP6 | python311 +1 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| SLES 15 SP6 | python312 +1 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:4534-1, SUSE-SU-2026:1292-1 |
| SLES 15 SP5 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SLES 15 SP5 | python39 +1 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 |
| SLES 15 SP4 | python310 +1 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SLES 15 SP4 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SLES 12 SP5 | python +2 | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SLES 12 SP5 | python3 +1 | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SLES 12 SP5 | python36 +1 | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python311 +1 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| SLES 3 | python313 +1 | 3.13.13-150700.4.45.1 | SUSE-SU-2026:1354-1 |
| SLES for SAP 16.0 | python313 +2 | 3.13.13-160000.1.1 | SUSE-SU-2026:21178-1 |
| SLES for SAP 15 SP6 | python311 +1 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| SLES for SAP 15 SP6 | python312 +1 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:4534-1, SUSE-SU-2026:1292-1 |
| SLES for SAP 15 SP5 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SLES for SAP 15 SP5 | python39 +1 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 |
| SLES for SAP 15 SP4 | python310 +1 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SLES for SAP 15 SP4 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SLES 16.0 | python313 +2 | 3.13.13-160000.1.1 | SUSE-SU-2026:21178-1 |
| SLE Micro 6.2 | python313 +1 | 3.13.13-160000.1.1 | SUSE-SU-2026:21104-1 |
| SLE Micro 6.1 | python311 +1 | 3.11.15-slfo.1.1_3.1 | SUSE-SU-2026:23743-1, SUSE-SU-2026:21254-1 |
| SLE HPC 15 SP5 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SLE HPC 15 SP4 | python310 +1 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SLE HPC 15 SP4 | python311 +2 | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python310 | 3.10.20-3.1 | openSUSE-SU-2026:10477-1 |
| openSUSE Tumbleweed | python311 | 3.11.15-4.1 | openSUSE-SU-2026:10478-1 |
| openSUSE Tumbleweed | python312 | 3.12.13-4.1 | openSUSE-SU-2026:10479-1 |
| openSUSE Tumbleweed | python313 | 3.13.12-3.1 | openSUSE-SU-2026:10480-1 |
| openSUSE Tumbleweed | python314 | 3.14.3-4.1 | openSUSE-SU-2026:10481-1 |
| openSUSE Tumbleweed | python315 | 3.15.0~a7-3.1 | openSUSE-SU-2026:10469-1 |
| openSUSE Leap 16.0 | python313 +4 | 3.13.13-160000.1.1 | openSUSE-SU-2026:20517-1 |
| openSUSE Leap 15.6 | python +2 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 |
| openSUSE Leap 15.6 | python310 +2 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| openSUSE Leap 15.6 | python311 +2 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 |
| openSUSE Leap 15.6 | python312 +2 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 |
| openSUSE Leap 15.6 | python39 +2 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | python3 +7 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 |
| Amazon Linux 2023 | python3.11 +6 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 |
| Amazon Linux 2023 | python3.12 +6 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 |
| Amazon Linux 2023 | python3.13 +8 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 |
| Amazon Linux 2023 | python3.14 +13 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 |
| Amazon Linux 2 | python +6 | 2.7.18-1.amzn2.0.18 | ALAS2-2026-3227 |
| Amazon Linux 2 | python3 +6 | 3.7.16-1.amzn2.0.25 | ALAS2-2026-3228 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-py | No fix yet | — |
| Azure Linux 3 | python3 | 3.12.9-13 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | python-3.10 | 3.10.21-r6 | — |
| Wolfi rolling | python-3.11 | 3.11.15-r9 | — |
| Wolfi rolling | python-3.12 | 3.12.14-r8 | — |
| Wolfi rolling | python-3.13 | 3.13.13-r0 | — |
| Wolfi rolling | python-3.14 | 3.14.4-r0 | — |
Advisories 35
- RHSA-2026:7661 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- RHSA-2026:7443 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- WID-SEC-2026-0722 CPython: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Oct 6, 2026
- SUSE-SU-2026:4534-1 Security update for python312 SUSE / openSUSE Security Updates · Oct 6, 2026
- RHSA-2026:10118 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:11324 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- SUSE-SU-2026:23743-1 Security update for python311 SUSE / openSUSE Security Updates · Sep 27, 2026
- ALAS2023-2026-1964 Important: python3.13 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 20, 2026
- ALAS2023-2026-1933 Moderate: python3.9 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026
- ALAS2023-2026-1930 Important: python3.11 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026
- ALAS2023-2026-1931 Important: python3.12 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jul 7, 2026
- USN-8509-1 python3.10, python3.12, python3.14 vulnerabilities Ubuntu Security Notices (USN) · Jul 6, 2026
- ALAS2023-2026-1774 Moderate: python3.14 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Jun 8, 2026
- SUSE-SU-2026:21254-1 Security update for python311 SUSE / openSUSE Security Updates · Apr 24, 2026
- openSUSE-SU-2026:20517-1 Security update for python313 SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:21178-1 Security update for python313 SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:1530-1 Security update for python311 SUSE / openSUSE Security Updates · Apr 22, 2026
- SUSE-SU-2026:1417-1 Security update for python SUSE / openSUSE Security Updates · Apr 18, 2026
- SUSE-SU-2026:21104-1 Security update for python313 SUSE / openSUSE Security Updates · Apr 17, 2026
- SUSE-SU-2026:1385-1 Security update for python3 SUSE / openSUSE Security Updates · Apr 17, 2026
- SUSE-SU-2026:1376-1 Security update for python310 SUSE / openSUSE Security Updates · Apr 17, 2026
- SUSE-SU-2026:1354-1 Security update for python313 SUSE / openSUSE Security Updates · Apr 16, 2026
- SUSE-SU-2026:1345-1 Security update for python36 SUSE / openSUSE Security Updates · Apr 16, 2026
- SUSE-SU-2026:1349-1 Security update for python311 SUSE / openSUSE Security Updates · Apr 16, 2026
- SUSE-SU-2026:1296-1 Security update for python39 SUSE / openSUSE Security Updates · Apr 14, 2026
- SUSE-SU-2026:1292-1 Security update for python312 SUSE / openSUSE Security Updates · Apr 14, 2026
- ALAS2-2026-3227 Important: python security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 13, 2026
- ALAS2-2026-3228 Important: python3 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Apr 13, 2026
- SUSE-SU-2026:1206-1 Security update for python SUSE / openSUSE Security Updates · Apr 8, 2026
- openSUSE-SU-2026:10478-1 python311-3.11.15-4.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:10480-1 python313-3.13.12-3.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:10481-1 python314-3.14.3-4.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:10477-1 python310-3.10.20-3.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:10479-1 python312-3.12.13-4.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026
- openSUSE-SU-2026:10469-1 python315-3.15.0~a7-3.1 on GA media SUSE / openSUSE Security Updates · Apr 1, 2026
References
- https://github.com/python/cpython/pull/143934 patch
- https://github.com/python/cpython/issues/141707 issue-tracking
- https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/ vendor-advisory
- https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab patch
- https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017 patch
- https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7 patch
- https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114 patch
- https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406 patch
- https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084 patch