CVE-2024-0450: Python Software Foundation CPython · CWE-405
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 6.2 Medium : upgrade to 3.8.19 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.8.19
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade Python Software Foundation CPython to 3.8.19.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIcpythonpkg:pypi/cpythonOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-0450, European organizations should prioritize upgrading to the fixed CPython versions where the zipfile module rejects overlapping zip entries. Specifically, updating to versions beyond 3.12.1, 3.11.7, 3.10.13, 3.9.18, or 3.8.18 is essential. For environments where immediate upgrading is not feasible, implement additional validation layers to inspect zip files for overlapping entries or abnormal compression ratios before processing. Employ sandboxing or resource-limiting techniques when decompressing zip files to contain potential resource exhaustion. Incorporate monitoring and alerting for unusual CPU, memory, or disk usage spikes during file processing. Educate developers and system administrators about the risks of processing untrusted zip files and enforce strict input validation policies. Where possible, restrict the acceptance of zip files from untrusted or anonymous sources. Finally, maintain an incident response plan to quickly address denial of service conditions arising from malicious file processing.
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.
References
- github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba (opens in a new tab)
- github.com/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b (opens in a new tab)
- github.com/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549 (opens in a new tab)
- github.com/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85 (opens in a new tab)
- github.com/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51 (opens in a new tab)
- github.com/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183 (opens in a new tab)
- github.com/python/cpython/issues/109858 (opens in a new tab)
- bamsoftware.com/hacks/zipbomb/ (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/03/msg00024.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/03/msg00025.html (opens in a new tab)
- openwall.com/lists/oss-security/2024/03/20/5 (opens in a new tab)
- github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/ (opens in a new tab)
- security.netapp.com/advisory/ntap-20250411-0005/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00005.html (opens in a new tab)