Skip to content
CVE PROGRAM SOURCE RECORD2.1 Low

CVE-2026-15310

zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.22affected
  • 3.11.0 to < 3.11.17affected
  • 3.12.0 to < 3.12.15affected
  • 3.13.0 to < 3.13.16affected
  • 3.14.0 to < 3.14.8affected
  • 3.15.0a1 to < 3.15.0rc2affected

References