CVE-2026-15310
When decompressing crafted zip files using the bzip/LZMA/Zstandard …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python/cpython/issues/156002
- github.com/python/cpython/pull/156003
- mail.python.org/archives/list/[email protected]/thread/YUHXURX2WZGKGNA4ANYBQS2V
- github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4
- github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8
- github.com/python/cpython/commit/31980e84b9a708424a0a1dfecde3fc991e313f89
- github.com/python/cpython/commit/e2311cfb3dd518f008f312fe0631f4f7490d237a
- github.com/python/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de
- nvd.nist.gov/vuln/detail/CVE-2026-15310
- cve.org/CVERecord?id=CVE-2026-15310
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.