Skip to main content
VulnerabilityPublished Updated

CVE-2024-8088: Python · Infinite loop when iterating over zip archive entry names from zipfile.Path

Affects pythonSource GCVE Database

0
Compare
Authoritative record:CVE-2024-8088· High 8.7

Not known to be exploited · CVSS 8.7 High · fixed in 3.12.6 : patch python soon.

Data as of 4 Nov 2026, 17:16 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (PSF)CVSS 4.08.7
Patch
Available – fixed in 3.12.6, 3.11.10, 3.10.15 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 4 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Bitnamipythonpkg:bitnami/pythonOther threatsAffected
  • <3.8.20
  • >=3.9.0 <3.9.20
  • >=3.10.0 <3.10.15
  • >=3.11.0 <3.11.10
  • >=3.12.0 <3.12.6
Fixed in
  • 3.8.20
  • 3.9.20
  • 3.10.15
  • 3.11.10
  • 3.12.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

References

Community reviews

Loading reviews…