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

- Severity: Low 2.1 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 40% of CVEs (2026-11-30)
- Published: 2026-08-25T15:07:58.054Z
- Modified: 2026-11-10T13:18:27.240Z
- Also known as: PSF-2026-39, BIT-LIBPYTHON-2026-15310, BIT-PYTHON-2026-15310, BIT-PYTHON-MIN-2026-15310
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16; from 3.14.0 before 3.14.8; from 3.15.0a1 before 3.15.0rc2
- https://github.com/python/cpython: before f897dbf2f36a5935700b7c2d94d4681d2136b7d4; before 1b424c0178a01e155fd0267dc28a8fc1159b33a8; before 31980e84b9a708424a0a1dfecde3fc991e313f89; before e2311cfb3dd518f008f312fe0631f4f7490d237a; before f507e6946a3194e83e1d7b8ee6e14567175e46de; before 9d167992b59cf5e23c66b9ed742b13f5925f7d70; before dcdd406ddbfc4cb29b24c3df17cbabe21d316ce1; before 09a2e7e6678b4f65449e7ad8f112c48f944591e2; before 6257029de42ef89b67f3d20137de87d43e197530; before c2bfbcdd1a11690507a10bc0998f95b8dc6b6fac
- libpython (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16; from 3.14.0 before 3.14.8
- python (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16; from 3.14.0 before 3.14.8
- python-min (Bitnami): before 3.10.22; from 3.11.0 before 3.11.17; from 3.12.0 before 3.12.15; from 3.13.0 before 3.13.16; from 3.14.0 before 3.14.8

## Every score

- PSF: CVSS:4.0 2.1 Low `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`
- Bitnami Vulnerability Database: rating Low

## References

- <https://github.com/python/cpython/pull/156003> (patch, web)
- <https://github.com/python/cpython/issues/156002> (issue-tracking, report, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/YUHXURX2WZGKGNA4ANYBQS2VZRYQ5JNK/> (advisory, vendor-advisory, web)
- <https://github.com/python/cpython/commit/f897dbf2f36a5935700b7c2d94d4681d2136b7d4> (fix, patch, web)
- <https://github.com/python/cpython/commit/1b424c0178a01e155fd0267dc28a8fc1159b33a8> (fix, patch, web)
- <https://github.com/python/cpython/commit/31980e84b9a708424a0a1dfecde3fc991e313f89> (fix, patch, web)
- <https://github.com/python/cpython/commit/e2311cfb3dd518f008f312fe0631f4f7490d237a> (fix, patch, web)
- <https://github.com/python/cpython/commit/f507e6946a3194e83e1d7b8ee6e14567175e46de> (fix, patch, web)
- <https://github.com/python/cpython/commit/9d167992b59cf5e23c66b9ed742b13f5925f7d70> (fix, patch, web)
- <https://github.com/python/cpython/commit/dcdd406ddbfc4cb29b24c3df17cbabe21d316ce1> (fix, patch, web)
- <https://github.com/python/cpython/commit/09a2e7e6678b4f65449e7ad8f112c48f944591e2> (fix, patch, web)
- <https://github.com/python/cpython/commit/6257029de42ef89b67f3d20137de87d43e197530> (fix, patch, web)
- <https://github.com/python/cpython/commit/c2bfbcdd1a11690507a10bc0998f95b8dc6b6fac> (fix, patch, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15310> (web)

## Sources

- CVE List: [CVE-2026-15310](https://www.cve.org/CVERecord?id=CVE-2026-15310), CVE Terms of Use, modified 2026-11-10
- Python Software Foundation: [PSF-2026-39](https://osv.dev/vulnerability/PSF-2026-39), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-15310](https://nvd.nist.gov/vuln/detail/CVE-2026-15310), Public domain, modified 2026-11-10
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2026-15310](https://osv.dev/vulnerability/BIT-LIBPYTHON-2026-15310), Apache-2.0, modified 2026-10-05
- Bitnami Vulnerability Database: [BIT-PYTHON-2026-15310](https://osv.dev/vulnerability/BIT-PYTHON-2026-15310), Apache-2.0, modified 2026-10-05
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2026-15310](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2026-15310), Apache-2.0, modified 2026-10-05

---

Page: https://cve.day/CVE-2026-15310 · Whole record: https://cve.day/CVE-2026-15310.json · Rebuilt by cve.day 2026-11-25T22:59:35.154Z
