CVE-2026-15310
NoneCVSS
—
EPSS
0.5%
Published
Aug 25, 2026
CISA due date
—
Cloudanix analysis
A flaw in Python lets attackers crash programs that open certain compressed files by forcing them to use up all available memory.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
During decompression of ZIP archives using bzip2, LZMA, or Zstandard, Python uses an attacker-supplied size value to pre-allocate memory buffers without sufficient bounds checking, allowing exhaustion of available RAM.
Why it matters to the business
Services that accept or process untrusted compressed archives may become unresponsive or crash, interrupting file-handling workflows and requiring restarts or manual intervention.
How an attack unfolds
An attacker creates a ZIP file whose bzip/LZMA/Zstandard header declares an extremely large uncompressed size, then delivers the archive to any Python application that calls the zipfile module or equivalent decompression routines; the interpreter allocates the requested memory and the process terminates or hangs when RAM is depleted.
How to fix it
Upgrade Python to a version containing the corrected decompression logic once released; enforce strict memory limits and timeouts around archive processing; reject or sanitize archives whose declared sizes exceed reasonable thresholds.
How to confirm the fix worked
Test decompression of crafted large-allocation ZIP files under memory-constrained conditions before and after applying updates; verify that Python processes no longer allocate unbounded buffers for untrusted archives.
Typical attack path
- Craft a ZIP archive containing a bzip/LZMA/Zstandard member whose header specifies an oversized allocation
- Transmit the archive to the target via upload, email attachment, or automated download
- Trigger decompression through normal application logic that invokes Python's zipfile or tarfile handling
- Observe rapid memory growth leading to OOM termination or service denial
How to detect it
Review application and system logs for Python processes terminating with memory-allocation or out-of-memory errors immediately after ZIP or archive handling; correlate spikes in resident memory usage with file-upload or decompression events.
What your security team should do
- Monitor upstream Python releases and apply patches as soon as they become available
- Add resource quotas and size validation to any code paths that decompress untrusted ZIP files
- Consider sandboxing or external tools for high-risk archive processing until a fix is deployed
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116668 Tanium addressed an uncontrolled resource consumption vulnerability in Discover. CWE-400
- CVE-2026-111751 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-111752 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-63476 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-400
- CVE-2026-121444 svg-sanitizer from 0.11.0 before 1.1.0 contains an algorithmic complexity denial of… CWE-400
- CVE-2026-121438 Mistune before 3.3.3 contains a denial of service vulnerability in… CWE-400
- CVE-2026-121404 FreeRDP before 3.32.2 contains a denial of service vulnerability in the shadow server… CWE-400
- CVE-2026-49924 In ShortcutInfo of ShortcutInfo.java, there is a possible way to crash the launcher via… CWE-400