2.0low
tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling
- Severity
- 2.0low CVSS:4.0 by PSF
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PSF
- Also known as
- PSF-2026-10BIT-LIBPYTHON-2025-13462BIT-PYTHON-2025-13462BIT-PYTHON-MIN-2025-13462
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
| Product or package | Versions | Reported by |
|---|---|---|
| Python Software Foundation CPython | before 3.10.21, from 3.11.0 before 3.11.16, from 3.12.0 before 3.12.14, from 3.13.0 before 3.13.13, from 3.14.0 before 3.14.4, from 3.15.0a1 before 3.15.0a8 | CVE List |
| https://github.com/python/cpython | before 42d754e34c06e57ad6b8e7f92f32af679912d8ab, before 7ad3093d76a748af55bdb1d2e8aad3638163b017, before ae99fe3a33b43e303a05f012815cef60b611a9c7, before 72dde1016493c52abe857fc4a7bf6c40138b4114, before 9a23b753552afa28e3a2f4d8863572fc66479406, before d10950739a78f54d0718d88fb5a868374603c084 | Python Software Foundation |
| python python | before 3.13.13, from 3.14.0 before 3.14.4, 3.15.0 | NVD |
| libpython (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
| python (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
| python-min (Bitnami) | before 3.15.0 | Bitnami Vulnerability Database |
All scores
| PSF | 2.0low CVSS:4.0 | 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 |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | low rating |
Classification
What each source says
CVE List
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.
NVD (es)
El módulo 'tarfile' seguiría aplicando la normalización de bloques AREGTYPE (\x00) a DIRTYPE, incluso al procesar un miembro de múltiples bloques como GNUTYPE_LONGNAME o GNUTYPE_LONGLINK. Esto podría resultar en un archivo tar manipulado siendo malinterpretado por el módulo tarfile en comparación con otras implementaciones.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-13462 changed 2026-08-13 | CVE Terms of Use |
| Python Software Foundation | PSF-2026-10 changed 2026-06-05 | CC-BY-4.0 |
| NVD | CVE-2025-13462 changed 2026-08-13 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPYTHON-2025-13462 changed 2026-03-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-2025-13462 changed 2026-03-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PYTHON-MIN-2025-13462 changed 2026-03-27 | Apache-2.0 |