tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
CVE-2025-13462 is fixed in 98 products on 2 platforms, first by DEBIAN-CVE-2025-13462, released March 12, 2026. 9 other affected products have no fix yet. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Python 3.13 | 3.13.13 | Python 3.13 3.13.13 | Apr 7, 2026 |
| Python 3.14 | 3.14.4 | Python 3.14 3.14.4 | Apr 7, 2026 |
| Linux | |||
| idle-python3.10 · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | idle-python3.10 3.10.12-1~22.04.16 | Jul 7, 2026 |
| idle-python3.12 · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | idle-python3.12 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| libpython3.10 · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | libpython3.10 3.10.12-1~22.04.16 | Jul 7, 2026 |
| libpython3.10-minimal · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | libpython3.10-minimal 3.10.12-1~22.04.16 | Jul 7, 2026 |
| libpython3.10-stdlib · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | libpython3.10-stdlib 3.10.12-1~22.04.16 | Jul 7, 2026 |
| libpython3.10-testsuite · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | libpython3.10-testsuite 3.10.12-1~22.04.16 | Jul 7, 2026 |
| libpython3.12-minimal · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | libpython3.12-minimal 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| libpython3.12-stdlib · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | libpython3.12-stdlib 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| libpython3.12-testsuite · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | libpython3.12-testsuite 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| libpython3.12t64 · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | libpython3.12t64 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python · opensuse-leap 15.6 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 | Apr 7, 2026 |
| python · sles 15.7 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 | Apr 7, 2026 |
| python-base · opensuse-leap 15.6 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 | Apr 7, 2026 |
| python-base · sles 15.7 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 | Apr 7, 2026 |
| python-doc · opensuse-leap 15.6 | 2.7.18-150000.111.1 | SUSE-SU-2026:1206-1 | Apr 7, 2026 |
| python-unversioned-command · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3 · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-debug · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-devel · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-idle · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-libs · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-test · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3-tkinter · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3.10 · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.10-examples · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10-examples 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.10-full · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10-full 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.10-minimal · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10-minimal 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.10-nopie · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10-nopie 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.10-venv · Ubuntu 22.04.1 LTS (jammy) | 3.10.12-1~22.04.16 | python3.10-venv 3.10.12-1~22.04.16 | Jul 7, 2026 |
| python3.11 · Debian 12.15 (bookworm) | 3.11.2-6+deb12u8 | DEBIAN-CVE-2025-13462 | Mar 12, 2026 |
| python3.11 · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-debug · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-debuginfo · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-debugsource · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-devel · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-idle · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-libs · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-test · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.11-tkinter · amzn 2023 | 3.11.15-1.amzn2023.0.3 | ALAS2023-2026-1930 | Jul 6, 2026 |
| python3.12 · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.12 · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-debug · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-debuginfo · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-debugsource · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-devel · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-examples · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12-examples 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.12-full · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12-full 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.12-idle · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-libs · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-minimal · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12-minimal 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.12-nopie · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12-nopie 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.12-test · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-tkinter · amzn 2023 | 3.12.13-2.amzn2023.0.3 | ALAS2023-2026-1931 | Jul 6, 2026 |
| python3.12-venv · Ubuntu 24.04.5 LTS (noble) | 3.12.3-1ubuntu0.15 | python3.12-venv 3.12.3-1ubuntu0.15 | Jul 7, 2026 |
| python3.13 · Debian 13.5 (trixie) | 3.13.5-2+deb13u1 | DEBIAN-CVE-2025-13462 | Mar 12, 2026 |
| python3.13 · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-debug · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-debuginfo · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-debugsource · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-devel · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-freethreading · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-freethreading-debug · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-idle · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-libs · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-test · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.13-tkinter · amzn 2023 | 3.13.14-1.amzn2023.0.2 | ALAS2023-2026-1964 | Jul 20, 2026 |
| python3.14 · Debian 14 | 3.14.3-4 | DEBIAN-CVE-2025-13462 | Mar 12, 2026 |
| python3.14 · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-debug · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-debuginfo · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-debugsource · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-devel · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-debug · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-devel · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-idle · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-libs · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-test · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-freethreading-tkinter · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-idle · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-libs · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-test · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.14-tkinter · amzn 2023 | 3.14.5-1.amzn2023.0.1 | ALAS2023-2026-1774 | Jun 8, 2026 |
| python3.9-debuginfo · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python3.9-debugsource · amzn 2023 | 3.9.25-1.amzn2023.0.7 | ALAS2023-2026-1933 | Jul 6, 2026 |
| python310 · opensuse-leap 15.6 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 | Apr 15, 2026 |
| python310-core · opensuse-leap 15.6 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 | Apr 15, 2026 |
| python310-documentation · opensuse-leap 15.6 | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 | Apr 15, 2026 |
| python311 · opensuse-leap 15.6 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311 · sles 15.6 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311 · sles 15.7 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311-core · opensuse-leap 15.6 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311-core · sles 15.6 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311-core · sles 15.7 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python311-documentation · opensuse-leap 15.6 | 3.11.15-150600.3.53.1 | SUSE-SU-2026:1349-1 | Apr 15, 2026 |
| python312 · opensuse-leap 15.6 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 | Apr 13, 2026 |
| python312 · sles 15.6 | 3.12.14-150600.3.68.1 | SUSE-SU-2026:4534-1 | Oct 6, 2026 |
| python312 · sles 15.6 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 | Apr 13, 2026 |
| python312-core · opensuse-leap 15.6 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 | Apr 13, 2026 |
| python312-core · sles 15.6 | 3.12.14-150600.3.68.1 | SUSE-SU-2026:4534-1 | Oct 6, 2026 |
| python312-core · sles 15.6 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 | Apr 13, 2026 |
| python312-documentation · opensuse-leap 15.6 | 3.12.13-150600.3.53.1 | SUSE-SU-2026:1292-1 | Apr 13, 2026 |
| python313 · opensuse-leap 16.0 | 3.13.13-160000.1.1 | OPENSUSE-SU-2026:20517-1 | Apr 13, 2026 |
| python313 · sles 15.7 | 3.13.13-150700.4.45.1 | SUSE-SU-2026:1354-1 | Apr 15, 2026 |
| python313 · sles 16.0 | 3.13.13-160000.1.1 | SUSE-SU-2026:21178-1 | Apr 13, 2026 |
| python313-core · opensuse-leap 16.0 | 3.13.13-160000.1.1 | OPENSUSE-SU-2026:20517-1 | Apr 13, 2026 |
| python313-core · sles 15.7 | 3.13.13-150700.4.45.1 | SUSE-SU-2026:1354-1 | Apr 15, 2026 |
| python313-core · sles 16.0 | 3.13.13-160000.1.1 | SUSE-SU-2026:21178-1 | Apr 13, 2026 |
| python313-documentation · opensuse-leap 16.0 | 3.13.13-160000.1.1 | OPENSUSE-SU-2026:20517-1 | Apr 13, 2026 |
| python313-documentation · sles 16.0 | 3.13.13-160000.1.1 | SUSE-SU-2026:21178-1 | Apr 13, 2026 |
| python313-nogil · opensuse-leap 16.0 | 3.13.13-160000.1.1 | OPENSUSE-SU-2026:20517-1 | Apr 13, 2026 |
| python313-nogil-nogil-core · opensuse-leap 16.0 | 3.13.13-160000.1.1 | OPENSUSE-SU-2026:20517-1 | Apr 13, 2026 |
| python39 · opensuse-leap 15.6 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 | Apr 13, 2026 |
| python39-core · opensuse-leap 15.6 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 | Apr 13, 2026 |
| python39-documentation · opensuse-leap 15.6 | 3.9.25-150300.4.99.1 | SUSE-SU-2026:1296-1 | Apr 13, 2026 |
| No fix yet | |||
| Python 2 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.10 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.11 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.12 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.5 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.6 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.7 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.8 (Windows apps) | No fix yet | no-fix | n/a |
| Python 3.9 (Windows apps) | No fix yet | no-fix | n/a |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.