CVE-2024-8088 - CVE House
Back to Database
Status published High CVE-2024-8088

Infinite loop when iterating over zip archive entry names from zipfile.Path

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-8088

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Jason R. Coombs
  • Seth Larson

Affected Vendor

Python Software Foundation

View all reports →

Affected Software

CPython
Vulnerable Versions:
0, 3.9.0, 3.10.0, 3.11.0, 3.12.0, 3.13.0a1

Timeline

Official Publish: August 22nd, 2024
Last Modified: November 3rd, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)