Skip to main content
CVE-2024-0450VulnerabilityPublished Updated

CVE-2024-0450: Python Software Foundation CPython · CWE-405

Affects Python Software Foundation CPythonSource CVE Database V5

0

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

CVSS 3.1 base score
6.2Medium
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIcpythonpkg:pypi/cpythonOther threatsAffected
  • <3.8.19
  • =3.9.0
  • =3.10.0
  • =3.11.0
  • =3.12.0
  • =3.13.0
Fixed in
  • 3.8.19

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

Community reviews

Loading reviews…