Skip to content
2.0 Low

CVE-2025-13462 The "tarfile" module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a…

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 products and versions

Product Affected versions Fixed in
CPython 3.15 3.15.0a1 → < 3.15.0a8 3.15.0a8
CPython 3.14 3.14.0 → < 3.14.4 3.14.4
CPython 3.13 3.13.0 → < 3.13.13 3.13.13
CPython 3.12 3.12.0 → < 3.12.14 3.12.14
CPython 3.11 3.11.0 → < 3.11.16 3.11.16
CPython 3.10 earliest → < 3.10.21 3.10.21

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE