CVE-2025-8291

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.

Affected Software

VendorProductVersion RangeStatus
Python Software FoundationCPython0 < 3.10.19affected
Python Software FoundationCPython3.11.0 < 3.11.14affected
Python Software FoundationCPython3.12.0 < 3.12.12affected
Python Software FoundationCPython3.13.0 < 3.13.10affected
Python Software FoundationCPython3.14.0 < 3.14.1affected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

Additional References

References