CVE-2025-8291ZIP64 End of Central Directory (EOCD) Locator record offset not checked
Updated under an hour ago ()
Does this affect you?
It affects Python Software Foundation CPython. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 4.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weakness (CWE)
- CWE-1285
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- PSF
- NVD analysis
- Deferred
- Record last updated
- Jul 31, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Python Software Foundation CPython python_software_foundation:cpython (from the name) | before 3.9.24; from 3.10.0 before 3.10.19; from 3.11.0 before 3.11.14; from 3.12.0 before 3.12.12; from 3.13.0 before 3.13.10; from 3.14.0 before 3.14.1 | CNA record |
References
- https://github.com/python/cpython/pull/139702patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/QECOPWMTH4VPPJAXAH2BGTA4XADOP62G/vendor-advisory
- https://github.com/python/cpython/issues/139700issue-tracking
- https://github.com/python/cpython/commit/162997bb70e067668c039700141770687bc8f267patch
- https://github.com/python/cpython/commit/333d4a6f4967d3ace91492a39ededbcf3faa76a6patch
- https://github.com/python/cpython/commit/1d29afb0d6218aa8fb5e1e4a6133a4778d89bb46patch
- https://github.com/python/cpython/commit/76437ac248ad8ca44e9bf697b02b1e2241df2196patch
- https://github.com/python/cpython/commit/8392b2f0d35678407d9ce7d95655a5b77de161b4patch
- https://github.com/python/cpython/commit/bca11ae7d575d87ed93f5dd6a313be6246e3e388patch
- https://github.com/python/cpython/commit/d11e69d6203080e3ec450446bfed0516727b85c3patch
- https://github.com/google/security-research/security/advisories/GHSA-hhv7-p4pg-wm6p
- https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2025-12.json
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.