CVE-2026-15310

zipfile: bzip2/LZMA/Zstandard members decompress without a max_length bound, defeating chunked-read memory limits

At a glance

Severity
LOW 2.1
EPSS
EPSS 0.53 % · percentile 44 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
PSF
NVD status
Awaiting Analysis

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.

Scores

VersionScoreVectorScored by
CVSS 4.0LOW 2.1CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NPSF
CVSS 4.0LOW 2.1CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@python.org (Secondary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected products

ProductVersions
Python Software Foundation · CPythonaffected 0 < 3.10.22 ; affected 3.11.0 < 3.11.17 ; affected 3.12.0 < 3.12.15 ; affected 3.13.0 < 3.13.16 ; affected 3.14.0 < 3.14.8 ; affected 3.15.0a1 < 3.15.0rc2

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD