CVE-2026-11972
Vulnérabilité élevée dans CPython (Python Software Foundation)
CVSS 8.2 · Élevée
EPSS 0.7%
Python Software Foundation•CPython•Versions : <3.10.21, <3.14.7, <3.15.0b4, 3.14.0, 3.11.0, 3.13.0, 3.15.0a1, 3.12.0, 0, <3.12.14, <3.13.15, <3.11.16
Description
When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
Gravité et risque d'exploitation
CVE-2026-11972 obtient un score CVSS de 8.2/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.71 %, ce qui la place devant 52.9 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions <3.10.21, <3.14.7, <3.15.0b4, 3.14.0, 3.11.0, 3.13.0, 3.15.0a1, 3.12.0, 0, <3.12.14, <3.13.15, <3.11.16) est présent sur votre parc.
- Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
- À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
- Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.
Références
- https://github.com/python/cpython/issues/151981
- https://github.com/python/cpython/pull/151982
- https://mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/
- https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9
- https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365
- https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21
- https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec
- https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192
- https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896
- https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438
