CVE-2024-8088: Infinite loop when iterating over zip archive entry names from zipfile.Path
Noroxi assessment
Priority: Monitor (action score 34/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.2% (FIRST EPSS); higher than 69.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: Python Software Foundation CPython 3.10.15, 3.11.10, 3.12.6; Azure Linux 3.0 ARM 2.16.1-7, 3.12.3-4; Azure Linux 3.0 x64 2.16.1-7, 3.12.3-4.
Low priority for now. Upgrade to Python Software Foundation CPython 3.10.15, 3.11.10, 3.12.6; Azure Linux 3.0 ARM 2.16.1-7, 3.12.3-4; Azure Linux 3.0 x64 2.16.1-7, 3.12.3-4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2024-06863
- ALSA-2024:5962
- ALSA-2024:6961
- ALSA-2024:6962
- ALSA-2024:9190
- ALSA-2024:9192
- ALSA-2024:9371
- DSA-5759-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
- RHSA-2024:5962
- RHSA-2024:6163
- RHSA-2024:6961
- RHSA-2024:6962
- RHSA-2024:9190
- RHSA-2024:9192
- Published
- Aug 22, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.2% · 69th percentile
- CWE
- CWE-835
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · PSF
- 8.7
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| python software foundation | cpython | cpe:2.3:a:python_software_foundation:cpython |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (PSF). Independent of NVD's CPE analysis and usually ahead of it.
Python Software Foundation CPython
- before 3.8.20affected · python
- 3.9.0 and later · before 3.9.20affected · python
- 3.10.0 and later · before 3.10.15affected · python
- 3.11.0 and later · before 3.11.10affected · python
- 3.12.0 and later · before 3.12.6affected · python
- 3.13.0a1 and later · before 3.13.0rc2affected · python
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python3.11 | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-debug | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-devel | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-idle | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-libs | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-rpm-macros | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-test | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.11-tkinter | before 3.11.9-7.el8_10 | 3.11.9-7.el8_10 |
| AlmaLinux:8 | python3.12 | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-debug | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-devel | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-idle | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-libs | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-rpm-macros | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-test | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python3.12-tkinter | before 3.12.5-2.el8_10 | 3.12.5-2.el8_10 |
| AlmaLinux:8 | python39 | before 3.9.19-7.module_el8.10.0+3885+d986a391 | 3.9.19-7.module_el8.10.0+3885+d986a391 |
| AlmaLinux:8 | python39-attrs | before 20.3.0-2.module_el8.6.0+2780+a40f65e1 | 20.3.0-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cffi | before 1.14.3-2.module_el8.6.0+2780+a40f65e1 | 1.14.3-2.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cffi | before 1.14.3-2.module_el8.6.0+3248+c431e88c | 1.14.3-2.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-chardet | before 3.0.4-19.module_el8.6.0+2780+a40f65e1 | 3.0.4-19.module_el8.6.0+2780+a40f65e1 |
| AlmaLinux:8 | python39-cryptography | before 3.3.1-3.module_el8.10.0+3765+2f9a457d | 3.3.1-3.module_el8.10.0+3765+2f9a457d |
| AlmaLinux:8 | python39-Cython | before 0.29.21-5.module_el8.6.0+3248+c431e88c | 0.29.21-5.module_el8.6.0+3248+c431e88c |
| AlmaLinux:8 | python39-Cython | before 0.29.21-5.module_el8.6.0+2780+a40f65e1 | 0.29.21-5.module_el8.6.0+2780+a40f65e1 |
+96
Same product
python software foundation: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-115557Distrust compromised intermediate certificates in ssl module37Monitor
- CVE-2025-4517Arbitrary writes via tarfile realpath overflow37Monitor
- CVE-2026-19445Use-after-free of a server-side SSLContext when sni_callback switches contexts36Monitor
Published before and after this one in the same product
- ← EarlierCVE-2024-3219Jul 29, 2024 · Pure-Python fallback of socket.socketpair() doesn’t authenticate peer connection20Monitor
- ← EarlierCVE-2024-6923Aug 1, 2024 · Email header injection due to unquoted newlines22Monitor
- Later →CVE-2024-11168Nov 12, 2024 · Improper validation of IPv6 and IPvFuture addresses25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Python Software Foundation CPython | 3.10.15 | Vendor (CNA) |
| Python Software Foundation CPython | 3.11.10 | Vendor (CNA) |
| Python Software Foundation CPython | 3.12.6 | Vendor (CNA) |
| Python Software Foundation CPython | 3.13.0rc2 | Vendor (CNA) |
| Python Software Foundation CPython | 3.8.20 | Vendor (CNA) |
| Python Software Foundation CPython | 3.9.20 | Vendor (CNA) |
| Azure Linux 3.0 ARM | 2.16.1-7 · tensorflow | Microsoft (MSRC) |
| Azure Linux 3.0 ARM | 3.12.3-4 · python3 | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 2.16.1-7 · tensorflow | Microsoft (MSRC) |
| Azure Linux 3.0 x64 | 3.12.3-4 · python3 | Microsoft (MSRC) |
| CBL Mariner 2.0 ARM | 3.9.19-5 · python3 | Microsoft (MSRC) |
| CBL Mariner 2.0 x64 | 3.9.19-5 · python3 | Microsoft (MSRC) |
| almalinux:python39 | 3.9.19-7.module_el8.10.0+3885+d986a391 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-attrs | 20.3.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cffi | 1.14.3-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-chardet | 3.0.4-19.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-cryptography | 3.3.1-3.module_el8.10.0+3765+2f9a457d · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-Cython | 0.29.21-5.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-debug | 3.9.19-7.module_el8.10.0+3885+d986a391 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-devel | 3.9.19-7.module_el8.10.0+3885+d986a391 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-idle | 3.9.19-7.module_el8.10.0+3885+d986a391 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-idna | 2.10-4.module_el8.10.0+3849+a48d89aa · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-iniconfig | 1.1.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:python39-PyMySQL | 0.10.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8 | Package registry (OSV) |
| alpine:python3 | 3.10.14-r2 · Alpine:v3.17 | Package registry (OSV) |
| debian:pypy3 | 7.3.18+dfsg-1 · Debian:13 | Package registry (OSV) |
| debian:python3.11 | 3.11.2-6+deb12u3 · Debian:12 | Package registry (OSV) |
| debian:python3.13 | 3.13.0~rc2-1 · Debian:13 | Package registry (OSV) |
| opensuse:python310 | 3.10.15-150400.4.57.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:python310-core | 3.10.15-150400.4.57.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
+46
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
- python/cpythoncommit 0aa1ee2
- python/cpythoncommit 2231286
- python/cpythoncommit 795f259
- python/cpythoncommit 7bc367e
- python/cpythoncommit 7e8883a
- python/cpythoncommit 8c73489
- python/cpythoncommit 95b073b
- python/cpythoncommit 9620552
- python/cpythoncommit 9cd0326
- python/cpythoncommit dcc5182
- python/cpythoncommit e0264a6
- python/cpythoncommit fc0b825
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Seth Larsoncoordinator
- Jason R. Coombsremediation developer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-8194340 days apartTarfile infinite loop during parsing with negative member offset30Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- N
Weakness class (CWE)
CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- www.openwall.com/lists/oss-security/2024/08/23/2
- github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1
- github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6
- github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
- github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814
- github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4
- github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
- github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a
- github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7
- github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932
- github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
- github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db
- github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798
- github.com/python/cpython/issues/122905
- github.com/python/cpython/issues/123270
- github.com/python/cpython/pull/122906
- mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/
- www.openwall.com/lists/oss-security/2024/08/22/1
- www.openwall.com/lists/oss-security/2024/08/22/4
Vendor advisories and official records. Exploit/PoC links are deliberately left out.