CVE-2026-15310

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

State
Published
Severity
2.1 Low
Published
Aug 25, 2026
Updated
Oct 2, 2026
Reserved
Jul 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.1 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NPSF

Weaknesses

Affected Products

ProductVersions
CPythonPython Software Foundation
  • before 3.10.22Affected
  • 3.11.0 to before 3.11.17Affected
  • 3.12.0 to before 3.12.15Affected
  • 3.13.0 to before 3.13.16Affected
  • 3.14.0 to before 3.14.8Affected
  • 3.15.0a1 to before 3.15.0rc2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.