CVE-2024-8088
mediumpriority · track · 0EPSS 0.013 · 70 %ileDEEUNLRUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.3–8.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (47)
Products and version ranges known to be affected.
advisories (6)
Vendor and ecosystem advisories describing this.
- NCSC-2025-0020Kwetsbaarheden verholpen in Oracle Database productenNL2025-01-22csaf · ncsc_nlNL
Oracle heeft kwetsbaarheden verholpen in diverse database producten en subsystemen, zoals de Core Database, Graal, Application Express, GoldenGate en REST data.
- WID-SEC-W-2024-1914Python: Schwachstelle ermöglicht Denial of ServiceDeutsch2024-08-22csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Python ausnutzen, um einen Denial of Service Angriff durchzuführen.
- BIT-libpython-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path2025-08-11vendor · osvUS
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.
- BIT-python-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path2025-04-14vendor · osvUS
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.
- BIT-python-min-2024-8088Infinite loop when iterating over zip archive entry names from zipfile.Path2025-04-14vendor · osvUS
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.
- PSF-2024-102024-08-22vendor · osvUS
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.
also known as (8)
Other names and identifiers for this entity.
- CNNVD-202408-2250cnnvd
- EUVD-2024-48931enisa_euvd
- BDU:2024-06863fstec_bdu
- GHSA-q98g-hxg3-268cenisa_euvd
- BIT-libpython-2024-8088osv
- BIT-python-2024-8088osv
- BIT-python-min-2024-8088osv
- PSF-2024-10osv
sources
Which sources assert this record, and when.
references (48)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-8088cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-8088/cnnvd
- https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894ecnnvd
- https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64cnnvd
- https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788deacnnvd
- https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16dbcnnvd
- https://github.com/python/cpython/issues/122905cnnvd
- https://github.com/python/cpython/issues/123270cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan