{"id":"CVE-2025-13462","aliases":["CVE-2025-13462","PSF-2026-10","BIT-LIBPYTHON-2025-13462","BIT-PYTHON-2025-13462","BIT-PYTHON-MIN-2025-13462"],"related":[],"kind":"vulnerability","state":"published","title":"tarfile: Skip DIRTYPE normalization during GNU LONGNAME/LONGLINK handling","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-12T17:59:26.620Z","modified":"2026-08-13T01:16:50.980Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":3.3,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"LOW"}],"cwes":["CWE-20","CWE-74","CWE-434"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"3.10.21","status":"affected"},{"type":"python","introduced":"3.11.0","fixed":"3.11.16","status":"affected"},{"type":"python","introduced":"3.12.0","fixed":"3.12.14","status":"affected"},{"type":"python","introduced":"3.13.0","fixed":"3.13.13","status":"affected"},{"type":"python","introduced":"3.14.0","fixed":"3.14.4","status":"affected"},{"type":"python","introduced":"3.15.0a1","fixed":"3.15.0a8","status":"affected"}],"vendor":"Python Software Foundation","product":"CPython","repo":"https://github.com/python/cpython","source":"cvelist"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"42d754e34c06e57ad6b8e7f92f32af679912d8ab"},{"type":"git","status":"affected","fixed":"7ad3093d76a748af55bdb1d2e8aad3638163b017"},{"type":"git","status":"affected","fixed":"ae99fe3a33b43e303a05f012815cef60b611a9c7"},{"type":"git","status":"affected","fixed":"72dde1016493c52abe857fc4a7bf6c40138b4114"},{"type":"git","status":"affected","fixed":"9a23b753552afa28e3a2f4d8863572fc66479406"},{"type":"git","status":"affected","fixed":"d10950739a78f54d0718d88fb5a868374603c084"}],"repo":"https://github.com/python/cpython","source":"psf"},{"ranges":[{"status":"affected","fixed":"3.13.13"},{"status":"affected","introduced":"3.14.0","fixed":"3.14.4"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"},{"status":"affected","version":"3.15.0"}],"vendor":"python","product":"python","cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Bitnami","package":"libpython","purl":"pkg:bitnami/libpython","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Bitnami","package":"python","purl":"pkg:bitnami/python","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.15.0"}],"ecosystem":"Bitnami","package":"python-min","purl":"pkg:bitnami/python-min","source":"bitnami"}],"references":[{"url":"https://github.com/python/cpython/pull/143934","tags":["issue-tracking","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/issues/141707","tags":["issue-tracking","report","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/EOMI5I66ZMKQ2INNFT6T7IAIKUGPZYIE/","tags":["advisory","mailing-list","vendor-advisory","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7","tags":["fix","patch","web"],"sources":["cvelist","psf","nvd","bitnami"]},{"url":"https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114","tags":["fix","patch"],"sources":["cvelist","psf","nvd"]},{"url":"https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406","tags":["fix","patch"],"sources":["cvelist","psf","nvd"]},{"url":"https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084","tags":["fix","patch"],"sources":["cvelist","psf","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13462","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-12T19:09:23.808Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-13462","url":"https://www.cve.org/CVERecord?id=CVE-2025-13462","licence":"CVE Terms of Use","modified":"2026-08-13T00:30:19.927Z"},{"source":"psf","name":"Python Software Foundation","id":"PSF-2026-10","url":"https://osv.dev/vulnerability/PSF-2026-10","licence":"CC-BY-4.0","modified":"2026-06-05T03:45:09.881Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-13462","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13462","licence":"Public domain","modified":"2026-08-13T01:16:50.980Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPYTHON-2025-13462","url":"https://osv.dev/vulnerability/BIT-LIBPYTHON-2025-13462","licence":"Apache-2.0","modified":"2026-03-27T08:56:26.347Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-2025-13462","url":"https://osv.dev/vulnerability/BIT-PYTHON-2025-13462","licence":"Apache-2.0","modified":"2026-03-27T08:48:14.726Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTHON-MIN-2025-13462","url":"https://osv.dev/vulnerability/BIT-PYTHON-MIN-2025-13462","licence":"Apache-2.0","modified":"2026-03-27T08:48:08.246Z"}],"updatedAt":"2026-11-25T22:59:11.915Z","epss":{"score":0.00183,"percentile":0.08194,"date":"2026-12-01T12:00:22.000Z"}}