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.
https://mail.python.org/archives/list/[email protected]/thread/YUHXURX2WZGKGNA4ANYBQS2VZRYQ5JNK/
https://github.com/python/cpython/pull/156003
https://github.com/python/cpython/issues/156002
https://github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4
https://github.com/python/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de
https://github.com/python/cpython/commit/e2311cfb3dd518f008f312fe0631f4f7490d237a
https://github.com/python/cpython/commit/9d167992b59cf5e23c66b9ed742b13f5925f7d70
https://github.com/python/cpython/commit/31980e84b9a708424a0a1dfecde3fc991e313f89
https://github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8
Published: 2026-08-25
Updated: 2026-09-17
Base Score: 7.1
Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:C
Severity: High
Base Score: 7.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Severity: High
Base Score: 2.1
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Severity: Low
EPSS: 0.00304