Aller au contenu
7.5 Élevée

CVE-2025-8194 There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs

Description

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

Produits et versions touchés

Produit Versions touchées Corrigé en
CPython 3.14 3.14.0a1 → < 3.14.0rc2 3.14.0rc2
CPython 3.13 3.13.0 → < 3.13.6 3.13.6
CPython 3.12 3.12.0 → < 3.12.12 3.12.12
CPython 3.11 3.11.0 → < 3.11.14 3.11.14
CPython 3.10 3.10.0 → < 3.10.19 3.10.19
CPython 3.9 premières → < 3.9.24 3.9.24

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 79 CVE de CPython →
Suivre cette CVE