CVE-2025-8291 PUBLISHED

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

Assigner: PSF
Reserved: 28.07.2025 Published: 07.10.2025 Updated: 07.10.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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS Score: 4.3

Product Status

Vendor Python Software Foundation
Product CPython
Versions Default: unaffected
  • affected from 0 to 3.14.0 (incl.)

Credits

  • Caleb Brown (Google) reporter
  • Serhiy Storchaka remediation developer
  • Seth Larson coordinator

References