Skip to main content
← All vulnerabilities
CVE-2025-8291

ZIP64 End of Central Directory (EOCD) Locator record offset not checked

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Python Software Foundation CPython

    fixed in 3.9.24; From 3.10.0 · fixed in 3.10.19; From 3.11.0 · fixed in 3.11.14; From 3.12.0 · fixed in 3.12.12; From 3.13.0 · fixed in 3.13.10; From 3.14.0 · fixed in 3.14.1

References 10

GitHub · python/cpython

mail.python.org