CVE-2026-15310
Received Received - Intake

Memory Exhaustion in Python via Crafted Zip Decompression

Vulnerability report for CVE-2026-15310, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-25

Last updated on: 2026-08-25

Assigner: Python Software Foundation

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-25
Last Modified
2026-08-25
Generated
2026-08-25
AI Q&A
2026-08-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 8 associated CPEs
Vendor Product Version / Range
python python *
python python 3.10
python python 3.11
python python 3.12
python python 3.13
python python 3.14
python python 3.15
mailman mailman 3

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves memory exhaustion when decompressing crafted zip files using bzip2, LZMA, or Zstandard compression methods in Python's zipfile module. An attacker could create a zip file with a small compressed chunk declaring a large uncompressed size, causing excessive memory usage during decompression.

Detection Guidance

Monitor for unusual memory usage spikes when processing zip files, particularly those using bzip2, LZMA, or Zstandard compression. Check Python logs for decompression errors or crashes. Use tools like 'zipinfo' to inspect zip file contents for suspicious compression methods or sizes.

Impact Analysis

This vulnerability could lead to denial-of-service conditions by consuming excessive memory on systems processing crafted zip files. It may cause applications to crash or become unresponsive when handling malicious zip archives.

Compliance Impact

This vulnerability could lead to denial-of-service conditions by exhausting system memory, which may impact availability of services handling zip files. For GDPR, this could affect data availability requirements under Article 32. For HIPAA, it may impact the integrity and availability of protected health information systems.

Mitigation Strategies

Update Python to a patched version (3.10 or later) that includes the fix for CVE-2026-15310. Avoid processing untrusted zip files, especially those using bzip2, LZMA, or Zstandard compression. Implement input validation to limit file sizes and compression ratios.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15310. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart