CVE-2025-13462
published low CVSS 4.0 · 2.0tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.21 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.13 · 3.14.0 to < 3.14.4 · 3.15.0a1 to < 3.15.0a8 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3227 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3228 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1774 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1930 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1931 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | python3.9 | Advisory build | 3.9.2-1+deb11u7 | DLA-4583-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0aarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1933 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1964 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0ppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0s390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0x86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bits390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython2_7-1_0-32bitx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0aarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0ppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0s390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0x86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bits390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_4m1_0-32bitx86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0aarch64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0ppc64le | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0s390x | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0x86_64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bits390x | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | libpython3_6m1_0-32bitx86_64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythons390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | pythonx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bits390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-32bitx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-baseppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-bases390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-basex86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bits390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-base-32bitx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursess390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-cursesx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demoppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demos390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-demox86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-devels390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-develx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-docnoarch | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-doc-pdfnoarch | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbms390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-gdbmx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idleppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idles390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-idlex86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tks390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-tkx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlaarch64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlppc64le | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmls390x | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-xmlx86_64 | Advisory build | 2.7.18-33.74.1 | SUSE-SU-2026:1417-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3aarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3ppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3s390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3x86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseaarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-baseppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-bases390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-basex86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesaarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursess390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-cursesx86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develaarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-devels390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-develx86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkaarch64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkppc64le | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tks390x | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-tkx86_64 | Advisory build | 3.4.10-25.180.1 | SUSE-SU-2026:1385-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36aarch64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36ppc64le | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36s390x | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36x86_64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseaarch64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-baseppc64le | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-bases390x | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-basex86_64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develaarch64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develppc64le | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-devels390x | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-12-SP5 | python36-develx86_64 | Advisory build | 3.6.15-108.1 | SUSE-SU-2026:1345-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0aarch64 | Advisory build | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0ppc64le | Advisory build | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0s390x | Advisory build | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_10-1_0x86_64 | Advisory build | 3.10.20-150400.4.107.1 | SUSE-SU-2026:1376-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0aarch64 | Advisory build | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0ppc64le | Advisory build | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
| SUSE / openSUSE | SLE-15-SP4 | libpython3_11-1_0s390x | Advisory build | 3.11.15-150400.9.85.1 | SUSE-SU-2026:1530-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.0 / 10
- Severity
- low
- Provider
- PSF · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.21 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.13 (affected · python)3.14.0 to < 3.14.4 (affected · python)3.15.0a1 to < 3.15.0a8 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
3- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-20 CWE-20 Improper Input Validation
References
9- https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab
- https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114
- https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017
- https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406
- https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7
- https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084
- https://github.com/python/cpython/issues/141707
- https://github.com/python/cpython/pull/143934
- https://mail.python.org/archives/list/[email protected]/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/
Provider assertions
2PSF · cna
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7b40892f00d29def79ab3d109e055e97c776239086c18d5abd767dc96316037
- Ingested
- 23 Sep 2026, 08:37:10 UTC
- Source record
- Official CVE record