High severityNVD Advisory· Published Aug 22, 2024· Updated Apr 15, 2026
CVE-2024-8088
CVE-2024-8088
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.
Patches
1295b073bddefa2231286d78d38c7348939d8a962055268ed4795f2597a4be7bc367e464ce9cd03263100ddcc5182f27c1e0264a61119d0aa1ee22ab6e7e8883a3f04dfc0b8259e693Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
22- www.openwall.com/lists/oss-security/2024/08/22/1nvd
- www.openwall.com/lists/oss-security/2024/08/22/4nvd
- www.openwall.com/lists/oss-security/2024/08/23/1nvd
- www.openwall.com/lists/oss-security/2024/08/23/2nvd
- github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1nvd
- github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6nvd
- github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894envd
- github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814nvd
- github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4nvd
- github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64nvd
- github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6anvd
- github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7nvd
- github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932nvd
- github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788deanvd
- github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16dbnvd
- github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798nvd
- github.com/python/cpython/issues/122905nvd
- github.com/python/cpython/issues/123270nvd
- github.com/python/cpython/pull/122906nvd
- lists.debian.org/debian-lts-announce/2024/12/msg00000.htmlnvd
- mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/nvd
- security.netapp.com/advisory/ntap-20241011-0010/nvd
News mentions
0No linked articles in our index yet.