Resource exhaustion in Python Software Foundation Cpython
CVE-2026-15310
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
EPSS exploit prediction
EPSS: 0.005 (42.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 43rd percentile — 42.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
Weakness classification (CWE)
References
- github.com/python/cpython/issues/156002 (issue-tracking)
- github.com/python/cpython/pull/156003 (patch)
- mail.python.org/archives/list/security-announce@python.org/thread/YUHXURX2WZGKG… (vendor-advisory)
- github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4 (patch)
- github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8 (patch)
- github.com/python/cpython/commit/31980e84b9a708424a0a1dfecde3fc991e313f89 (patch)
- github.com/python/cpython/commit/e2311cfb3dd518f008f312fe0631f4f7490d237a (patch)
- github.com/python/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de (patch)
- github.com/python/cpython/commit/9d167992b59cf5e23c66b9ed742b13f5925f7d70 (patch)
- github.com/python/cpython/commit/dcdd406ddbfc4cb29b24c3df17cbabe21d316ce1 (patch)