CVE-2025-8291
ZIP64 End of Central Directory (EOCD) Locator record offset not checked
Reported by psf · Published October 7, 2025
The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP64 EOCD record, instead the ZIP64 EOCD record would be assumed to be the previous record in the ZIP archive. This could be abused to create ZIP archives that are handled differently by the 'zipfile' module compared to other ZIP implementations. Remediation maintains this behavior, but checks that the offset specified in the ZIP64 EOCD Locator record matches the expected value.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3.12-tkinter | Amazon Linux | 3.12.12-2.amzn2023 |
| python3.13-freethreading-debug | Amazon Linux | 3.13.3-3.amzn2023.0.7 |
| python3.11-idle | Amazon Linux | 3.11.14-1.amzn2023.0.1 |
| python-3.14 | Chainguard | 3.14.0-r2 |
| python3.13-freethreading | Amazon Linux | 3.13.3-3.amzn2023.0.7 |
| python3-devel | Amazon Linux | 3.9.24-1.amzn2023.0.3, 3.7.16-1.amzn2.0.20 |
| python3 | Amazon Linux | 3.9.24-1.amzn2023.0.3, 3.7.16-1.amzn2.0.20 |
| python3-tkinter | Amazon Linux | 3.9.24-1.amzn2023.0.3, 3.7.16-1.amzn2.0.20 |
| python-3.10 | Wolfi | 3.10.19-r0 |
| python3.11 | Amazon Linux | 3.11.14-1.amzn2023.0.1 |
| python-3.12 | Chainguard | 3.12.12-r0 |
| python3.13 | Amazon Linux | 3.13.3-3.amzn2023.0.7 |
51 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Python Software Foundation | CPython | 0, 3.10.0, 3.11.0 |
| amazon:2023 | python3.12-tkinter | 0 |
| amazon:2023 | python3.13-freethreading-debug | 0 |
| amazon:2023 | python3.11-idle | 0 |
| chainguard | python-3.14 | 0 |
| amazon:2023 | python3.13-freethreading | 0 |
| amazon:2023 | python3-devel | 0 |
| amazon:2023 | python3 | 0 |
| amazon:2 | python3-devel | 0 |
| amazon:2 | python3-tkinter | 0 |
| wolfi | python-3.10 | 0 |
| amazon:2023 | python3.11 | 0 |
| Python Software Foundation | CPython | 3.14.0, 3.10.0, 0 |
| chainguard | python-3.12 | 0 |
| amazon:2023 | python3.13 | 0 |
| amazon:2023 | python3.11-devel | 0 |
| wolfi | python-3.14 | 0 |
| wolfi | python-3.11 | 0 |
| amazon:2023 | python3.12-idle | 0 |
| amazon:2 | python3-libs | 0 |
…and 32 more
Timeline
- Oct 7, 2025 CVE Published
- Oct 8, 2025 EPSS Score (30 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Apr 29, 2026 Security Advisory (100 in total, the first dated here)
- Sep 6, 2026 Distribution Patch (19 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-8291
vulnetix vdb fixes CVE-2025-8291
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-8291/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- patch
- vendor-advisory
- issue-tracking
- patch
- patch
- patch
- patch
- patch
- patch
- patch
- https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2025-12.json vendor-advisory
- https://github.com/google/security-research/security/advisories/GHSA-hhv7-p4pg-wm6p exploit