CVE-2026-15310

Description

A flaw was found in Python. When decompressing specially crafted zip files that use bzip, LZMA, or Zstandard compression methods, Python may pre-allocate memory based on an attacker-controlled size. This could lead to excessive memory consumption, potentially causing a Denial of Service (DoS) for the system.

Statement

This vulnerability is rated as Moderate because successful exploitation requires an application or user to parse an untrusted, malicious archive, limiting the blast radius to process-level resource exhaustion rather than remote code execution or data disclosure. In typical Red Hat environments, Python services and tools do not automatically process external archives unless explicitly designed to handle unverified file uploads. Systems that do not parse untrusted compressed files or that constrain process memory via container or cgroup limits face minimal operational risk.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.5N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionRequiredN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.

Frequently Asked Questions

Want to get errata notifications? Sign up here.