Skip to main content
EPSS 0.5%top 57%

CVE-2026-15310: CWE-400 in Python Software Foundation CPython

0
Low
Published: 08/25/2026 (08/25/2026, 15:07:58 UTC)
Source: CVE Database V5
Vendor/Project: Python Software Foundation
Product: CPython

Description

CVE-2026-15310 is a low-severity vulnerability in CPython where decompressing specially crafted zip files using bzip, LZMA, or Zstandard compression methods can lead to memory exhaustion. This occurs because Python may use an attacker-controlled size to pre-allocate memory during decompression. The vulnerability affects multiple CPython versions prior to specific patch releases. No known exploits are reported in the wild, and no patch information is provided in the input data.

CVSS v4.0

Score 2.1low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Python Software Foundation

CPython

Affected versions
>=0 <3.10.22>=3.11.0 <3.11.17>=3.12.0 <3.12.15>=3.13.0 <3.13.16>=3.14.0 <3.14.8>=3.15.0a1 <3.15.0rc2
GitHub Actionsmore threats →cve
CPython
pkg:github/CPython
Affected versions
>=0 <3.10.22>=3.11.0 <3.11.17>=3.12.0 <3.12.15>=3.13.0 <3.13.16>=3.14.0 <3.14.8>=3.15.0a1 <3.15.0rc2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 21:05:55 UTC

Technical Analysis

This vulnerability (CVE-2026-15310) in the Python Software Foundation's CPython implementation involves improper handling of decompression of zip files compressed with bzip, LZMA, or Zstandard algorithms. An attacker can craft a zip file that specifies a size used by Python to pre-allocate memory, potentially causing memory exhaustion (CWE-400). The issue affects multiple CPython versions before certain fixed releases. The CVSS 4.0 score is 2.1, indicating low severity. There is no information about available patches or vendor advisories in the provided data.

Potential Impact

The impact is limited to potential memory exhaustion during decompression of maliciously crafted zip files, which could lead to denial of service by exhausting system memory resources. There is no indication of code execution, data corruption, or privilege escalation. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is confirmed, avoid decompressing untrusted zip files compressed with bzip, LZMA, or Zstandard in affected CPython versions to mitigate potential memory exhaustion.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
PSF
Date Reserved
2026-07-09T17:39:12.652Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8db46cacd9273b495e7a1e

Added to database: 08/25/2026, 15:27:40 UTC

Last enriched: 10/07/2026, 21:05:55 UTC

Last updated: 10/10/2026, 18:48:17 UTC

Views: 88

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses