CVE-2025-13462
CRITICAL severity · CVSS 9.8 · Improper input validation
9.8CVSS CRITICAL
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)0%
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8ab ↗
Additional information
- NVD record
- https://github.com/python/cpython/commit/42d754e34c06e57ad6b8e7f92f32af679912d8abPatch
- https://github.com/python/cpython/commit/72dde1016493c52abe857fc4a7bf6c40138b4114Patch
- https://github.com/python/cpython/commit/7ad3093d76a748af55bdb1d2e8aad3638163b017Patch
- https://github.com/python/cpython/commit/9a23b753552afa28e3a2f4d8863572fc66479406Patch
- https://github.com/python/cpython/commit/ae99fe3a33b43e303a05f012815cef60b611a9c7Patch
- https://github.com/python/cpython/commit/d10950739a78f54d0718d88fb5a868374603c084Patch
- https://github.com/python/cpython/pull/143934Patch
- https://github.com/python/cpython/issues/141707