{"schema_version":"1.9.0","id":"CVE-2024-8088","published":"2024-08-22T18:45:31.807Z","modified":"2026-08-12T03:51:18.179734710Z","aliases":["BIT-libpython-2024-8088","BIT-python-2024-8088","BIT-python-min-2024-8088","PSF-2024-10"],"related":["ALSA-2024:5962","ALSA-2024:6961","ALSA-2024:6962","ALSA-2024:9190","ALSA-2024:9192","ALSA-2024:9371","CGA-x5hr-2777-6g5p","SUSE-EL-9-CLIENT-TOOLS-2024-4029","SUSE-SU-2024:3303-1","SUSE-SU-2024:3357-1","SUSE-SU-2024:3411-1","SUSE-SU-2024:3418-1","SUSE-SU-2024:3427-1","SUSE-SU-2024:4020-1","SUSE-SU-2024:4021-1","SUSE-SU-2024:4029-1","SUSE-SU-2025:20065-1","SUSE-SU-2025:20154-1","SUSE-SU-2025:20374-1","openSUSE-SU-2024:14296-1","openSUSE-SU-2024:14297-1","openSUSE-SU-2024:14298-1","openSUSE-SU-2024:14299-1","openSUSE-SU-2024:14300-1","openSUSE-SU-2024:14301-1","openSUSE-SU-2024:14434-1","openSUSE-SU-2025:15713-1"],"summary":"Infinite loop when iterating over zip archive entry names from zipfile.Path","details":"There is a HIGH severity vulnerability affecting the CPython \"zipfile\"\nmodule affecting \"zipfile.Path\". Note that the more common API \"zipfile.ZipFile\" class is unaffected.\n\n\n\n\n\nWhen iterating over names of entries in a zip archive (for example, methods\nof \"zipfile.Path\" like \"namelist()\", \"iterdir()\", etc)\nthe process can be put into an infinite loop with a maliciously crafted\nzip archive. This defect applies when reading only metadata or extracting\nthe contents of the zip archive. Programs that are not handling\nuser-controlled zip archives are not affected.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"introduced":"9cf6752276e6fcfd0c23fdb064ad27f448aaaf75"},{"introduced":"b494f5935c92951e75597bfe1c8b1f3112fec270"},{"introduced":"deaf509e8fc6e0363bd6f26d52ad42f976ec42f2"},{"introduced":"0fb18b02c8ad56299d6a2910be0bab8ad601ef24"},{"introduced":"2268289a47c6e3c9a220b53697f9480ec390466f"},{"fixed":"39b2f82717a69dde7212bc39b673b0f55c99e6a3"},{"fixed":"8c3f7946ec848ec16cf28418c0f984ecaa029541"},{"fixed":"ffee63f34445412322a7afc2535731be221cabba"},{"fixed":"0c47759eee3e170e04a5dae82f12f6b375ae78f7"},{"fixed":"a4a2d2b0d85273f746c3834ce2753e19c898949d"},{"fixed":"ec610069637d56101896803a70d418a89afe0b4b"},{"fixed":"0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1"},{"fixed":"2231286d78d328c2f575e0b05b16fe447d1656d6"},{"fixed":"795f2597a4be988e2bb19b69ff9958e981cb894e"},{"fixed":"7bc367e464ce50b956dd232c1dfa1cad4e7fb814"},{"fixed":"7e8883a3f04d308302361aeffc73e0e9837f19d4"},{"fixed":"8c7348939d8a3ecd79d630075f6be1b0c5b41f64"},{"fixed":"95b073bddefa6243effa08e131e297c0383e7f6a"},{"fixed":"962055268ed4f2ca1d717bfc8b6385de50a23ab7"},{"fixed":"9cd03263100ddb1657826cc4a71470786cab3932"},{"fixed":"dcc5182f27c1500006a1ef78e10613bb45788dea"},{"fixed":"e0264a61119d551658d9445af38323ba94fc16db"},{"fixed":"fc0b8259e693caa8400fa8b6ac1e494e47ea7798"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.8.20"},{"introduced":"3.9.0"},{"fixed":"3.9.20"},{"introduced":"3.10.0"},{"fixed":"3.10.15"},{"introduced":"3.11.0"},{"fixed":"3.11.10"},{"introduced":"3.12.0"},{"fixed":"3.12.6"},{"introduced":"3.13.0a1"},{"fixed":"3.13.0rc2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.12.5","v3.13.0rc1","v3.13.0b4","v3.13.0b3","v3.12.4","v3.13.0b2","v3.13.0b1","v3.12.3","v3.11.9","v3.10.14","v3.8.19","v3.9.19","v3.12.2","v3.11.8","v3.12.1","v3.11.7","v3.11.6","v3.12.0","v3.8.18","v3.11.5","v3.9.18","v3.10.13","v3.11.4","v3.10.12","v3.8.17","v3.9.17","v3.10.11","v3.11.3","v3.10.10","v3.11.2","v3.10.9","v3.11.1","v3.8.16","v3.9.16","v3.11.0rc2","v3.8.15","v3.10.8","v3.9.15","v3.8.14","v3.9.14","v3.10.7","v3.11.0rc1","v3.10.6","v3.11.0b5","v3.11.0b4","v3.10.5","v3.11.0b3","v3.11.0b2","v3.9.13","v3.11.0b1","v3.11.0a7","v3.10.4","v3.9.12","v3.9.11","v3.10.3","v3.8.13","v3.11.0a6","v3.11.0a5","v3.11.0a4","v3.10.2","v3.11.0a3","v3.10.1","v3.9.9","v3.9.8","v3.10.0rc2","v3.9.7","v3.8.12","v3.10.0rc1","v3.10.0b4","v3.8.11","v3.9.6","v3.10.0b3","v3.10.0b2","v3.10.0b1","v3.9.5","v3.10.0a7","v3.9.2","v3.8.8","v3.9.2rc1","v3.8.8rc1","v3.10.0a1","v3.9.0b5","v3.8.5","v3.9.0b3","v3.9.0b1","v3.8.3","v3.8.3rc1","v3.9.0a2","v3.8.0rc1","v3.7.0a2","v3.6.0b1","v3.6.0a3","v3.5.0b1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v3.4.0b3","v3.4.0b2","v3.4.0b1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v3.0rc1","v3.0b3","v3.0b2","v3.0b1","v3.0a5","v3.0a4","v3.0a3","v3.0a2","v3.0a1","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8088.json"}}],"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/08/22/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/08/22/4"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/08/23/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/08/23/2"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8088.json"},{"type":"ADVISORY","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8088"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241011-0010/"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/122905"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/123270"},{"type":"FIX","url":"https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1"},{"type":"FIX","url":"https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6"},{"type":"FIX","url":"https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e"},{"type":"FIX","url":"https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814"},{"type":"FIX","url":"https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4"},{"type":"FIX","url":"https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64"},{"type":"FIX","url":"https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a"},{"type":"FIX","url":"https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7"},{"type":"FIX","url":"https://github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932"},{"type":"FIX","url":"https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea"},{"type":"FIX","url":"https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db"},{"type":"FIX","url":"https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798"},{"type":"FIX","url":"https://github.com/python/cpython/pull/122906"},{"type":"PACKAGE","url":"https://github.com/python/cpython"}],"database_specific":{"cna_assigner":"PSF","cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8088.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}