Skip to content
4.3 Medium

CVE-2025-8291 The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset…

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.

Affected products and versions

Product Affected versions Fixed in
CPython 3.14 3.14.0 → < 3.14.1 3.14.1
CPython 3.13 3.13.0 → < 3.13.10 3.13.10
CPython 3.12 3.12.0 → < 3.12.12 3.12.12
CPython 3.11 3.11.0 → < 3.11.14 3.11.14
CPython 3.10 3.10.0 → < 3.10.19 3.10.19
CPython 3.9 earliest → < 3.9.24 3.9.24

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE