CVE-2025-8291ZIP64 End of Central Directory (EOCD) Locator record offset not checked
- 4.3MediumCVSS base score
- 0.47%Exploitation in 30 daysEPSS · top 59% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/google/security-research/security/advisories/GHSA-hhv7-p4pg-wm6p (opens in a new tab)technical-descriptionexploit
Timeline
ID reserved
By PSF
- 2 months later
· 2 months later
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVDNVD · Deferred | 3.1 | Medium4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.47% · top 59% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Affected products
Python Software Foundation · CPython
- affected < 3.9.24
- affected 3.10.0 – < 3.10.19
- affected 3.11.0 – < 3.11.14
- affected 3.12.0 – < 3.12.12
- affected 3.13.0 – < 3.13.10
- affected 3.14.0 – < 3.14.1
References
References12
- https://github.com/python/cpython/pull/139702 (opens in a new tab)patch
- https://mail.python.org/archives/list/[email protected]/thread/QECOPWMTH4VPPJAXAH2BGTA4XADOP62G/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/issues/139700 (opens in a new tab)issue-tracking
- https://github.com/python/cpython/commit/162997bb70e067668c039700141770687bc8f267 (opens in a new tab)patch
- https://github.com/python/cpython/commit/333d4a6f4967d3ace91492a39ededbcf3faa76a6 (opens in a new tab)patch
- https://github.com/python/cpython/commit/1d29afb0d6218aa8fb5e1e4a6133a4778d89bb46 (opens in a new tab)patch
- https://github.com/python/cpython/commit/76437ac248ad8ca44e9bf697b02b1e2241df2196 (opens in a new tab)patch
- https://github.com/python/cpython/commit/8392b2f0d35678407d9ce7d95655a5b77de161b4 (opens in a new tab)patch
- https://github.com/python/cpython/commit/bca11ae7d575d87ed93f5dd6a313be6246e3e388 (opens in a new tab)patch
- https://github.com/python/cpython/commit/d11e69d6203080e3ec450446bfed0516727b85c3 (opens in a new tab)patch
- https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2025-12.json (opens in a new tab)vendor-advisory
- https://github.com/google/security-research/security/advisories/GHSA-hhv7-p4pg-wm6p (opens in a new tab)technical-descriptionexploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-31917 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-8291)Record last updated .