CVE-2026-15310
Vulnérabilité faible dans CPython (Python Software Foundation)
CVSS 2.1 · Faible
EPSS 0.5%
Python Software Foundation•CPython•Versions : 3.14.0, 3.11.0, 3.13.0, <3.10.22, <3.15.0rc2, 3.15.0a1, 3.12.0, 0, <3.12.15, <3.14.8, <3.11.17, <3.13.16
Description
When decompressing crafted zip files using the bzip/LZMA/Zstandard compressions, Python could use an attacker-controlled size to pre-allocate memory, possibly resulting in memory exhaustion.
Gravité et risque d'exploitation
CVE-2026-15310 obtient un score CVSS de 2.1/10, soit une gravité faible. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.53 %, ce qui la place devant 43.3 % des CVE référencées.
Que faire ?
- Vérifiez si CPython (versions 3.14.0, 3.11.0, 3.13.0, <3.10.22, <3.15.0rc2, 3.15.0a1, 3.12.0, 0, <3.12.15, <3.14.8, <3.11.17, <3.13.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/pull/156003
- https://github.com/python/cpython/issues/156002
- https://mail.python.org/archives/list/security-announce@python.org/thread/YUHXURX2WZGKGNA4ANYBQS2VZRYQ5JNK/
- https://github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4
- https://github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8
- https://github.com/python/cpython/commit/31980e84b9a708424a0a1dfecde3fc991e313f89
- https://github.com/python/cpython/commit/e2311cfb3dd518f008f312fe0631f4f7490d237a
- https://github.com/python/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de
- https://github.com/python/cpython/commit/9d167992b59cf5e23c66b9ed742b13f5925f7d70
- https://github.com/python/cpython/commit/dcdd406ddbfc4cb29b24c3df17cbabe21d316ce1
- https://github.com/python/cpython/commit/09a2e7e6678b4f65449e7ad8f112c48f944591e2
- https://github.com/python/cpython/commit/6257029de42ef89b67f3d20137de87d43e197530
- https://github.com/python/cpython/commit/c2bfbcdd1a11690507a10bc0998f95b8dc6b6fac
