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.
Published: 2026-08-25
Score: 2.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: Memory Exhaustion, Possible Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The vulnerability allows attackers to craft zip files that contain bzip2, LZMA, or Zstandard compressed members. When a vulnerable Python interpreter decompresses such a file, it allocates memory based on the attacker‑controlled compressed size without enforcing the maximum length bound that normally limits the amount of data that can be read at a time. This can lead to excessive memory allocation and eventual exhaustion, potentially causing crashes or a denial of service.

Affected Systems

The issue targets the CPython interpreter maintained by the Python Software Foundation. All versions of CPython that have not applied the mitigation present in the referenced pull request and issue may be vulnerable; the specific affected releases are not enumerated in the data provided.

Risk and Exploitability

The CVSS score is 2.1, indicating a low severity per the base metric. The EPSS score is unavailable, so the likelihood of exploitation is unclear. The vulnerability is not listed in the CISA KEV catalog and there are no known public exploits. The likely attack vector is the processing of a maliciously crafted zip file from an untrusted source; exploitation requires local or remote execution of Python’s zipfile module with such a file.

Generated by OpenCVE AI on August 25, 2026 at 16:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CPython to a version that incorporates the fix from https://github.com/python/cpython/pull/156003
  • If an immediate upgrade is not possible, move untrusted zip file processing to a sandboxed environment with strict memory limits
  • Consider disabling or rejecting zip files that use bzip2, LZMA, or Zstandard compression until a patch is applied
  • Monitor memory usage of applications that handle zip files for sudden spikes indicative of exploitation

Generated by OpenCVE AI on August 25, 2026 at 16:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 11 Sep 2026 01:15:00 +0000


Fri, 04 Sep 2026 01:15:00 +0000


Tue, 01 Sep 2026 01:30:00 +0000


Wed, 26 Aug 2026 00:30:00 +0000


Tue, 25 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Tue, 25 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits
Weaknesses CWE-400
References
Metrics cvssV4_0

{'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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published:

Updated: 2026-09-11T00:36:03.735Z

Reserved: 2026-07-09T17:39:12.652Z

Link: CVE-2026-15310

cve-icon Vulnrichment

Updated: 2026-08-25T17:39:17.557Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-25T15:16:30.027

Modified: 2026-09-11T02:18:33.150

Link: CVE-2026-15310

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T17:15:05Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption