# CVE-2024-0450: Quoted zip-bomb protection for zipfile

- Severity: Medium 6.2 (CVSS:3.1, scored by PSF) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-03-19T15:12:07.789Z
- Modified: 2026-06-17T06:53:32.060Z
- Also known as: PSF-2024-2, BIT-LIBPYTHON-2024-0450, BIT-PYTHON-2024-0450, BIT-PYTHON-MIN-2024-0450
- Weaknesses: CWE-405
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: PSF

## Description

An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior.

The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

(As written by CVE List.)

## Affected

- Python Software Foundation CPython: before 3.8.19; from 3.9.0 before 3.9.19; from 3.10.0 before 3.10.14; from 3.11.0 before 3.11.8; from 3.12.0 before 3.12.2; from 3.13.0a1 before 3.13.0a3
- python cpython: before 3.8.18; 3.9.18; 3.10.13; 3.11.7; 3.12.1
- https://github.com/python/cpython: before 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba; before fa181fcf2156f703347b03a3b1966ce47be8ab3b; before a956e510f6336d5ae111ba429a61c3ade30a7549; before 30fe5d853b56138dbec62432d370a1f99409fc85; before a2c59992e9e8d35baba9695eb186ad6c6ff85c51; before d05bac0b74153beb541b88b4fca33bf053990183; before 70497218351ba44bffc8b571201ecb5652d84675
- libpython (Bitnami): before 3.8.19; from 3.9.0 before 3.9.19; from 3.10.0 before 3.10.14; from 3.11.0 before 3.11.8; from 3.12.0 before 3.12.2
- python (Bitnami): before 3.8.19; from 3.9.0 before 3.9.19; from 3.10.0 before 3.10.14; from 3.11.0 before 3.11.8; from 3.12.0 before 3.12.2
- python-min (Bitnami): before 3.8.19; from 3.9.0 before 3.9.19; from 3.10.0 before 3.10.14; from 3.11.0 before 3.11.8; from 3.12.0 before 3.12.2

## Every score

- PSF: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba> (fix, patch, web)
- <https://github.com/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b> (fix, patch, web)
- <https://github.com/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549> (fix, patch, web)
- <https://github.com/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85> (fix, patch, web)
- <https://github.com/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51> (fix, patch, web)
- <https://github.com/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183> (fix, patch, web)
- <https://github.com/python/cpython/issues/109858> (issue-tracking, report, web)
- <https://www.bamsoftware.com/hacks/zipbomb/> (web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/> (advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00024.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html> (web)
- <http://www.openwall.com/lists/oss-security/2024/03/20/5> (web)
- <https://github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675> (fix, patch, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/> (web)
- <https://security.netapp.com/advisory/ntap-20250411-0005/> (web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-0450> (web)

## Sources

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

---

Page: https://cve.day/CVE-2024-0450 · Whole record: https://cve.day/CVE-2024-0450.json · Rebuilt by cve.day 2026-11-25T22:58:37.716Z
