PSF-2026-39: zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits
Published Aug 25, 2026
·Updated
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.
Affected Software
1 affected component
Python Software Foundation Python
Event History
Aug 25, 2026
CVE Published
via OSV·03:07 PM
Data Sourced
via OSV·03:07 PM
DescriptionSeverityWeakness