Home

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.

PUBLISHED Reserved 2025-07-28 | Published 2025-10-07 | Updated 2025-10-09 | Assigner PSF




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

Product status

Default status
unaffected

Any version before 3.9.24
affected

3.10.0 before 3.10.19
affected

3.11.0 before 3.11.14
affected

3.12.0 before 3.12.12
affected

3.13.0a1 before 3.14.1
affected

Credits

Caleb Brown (Google) reporter

Serhiy Storchaka remediation developer

Seth Larson coordinator

References

github.com/python/cpython/pull/139702 patch

mail.python.org/.../thread/QECOPWMTH4VPPJAXAH2BGTA4XADOP62G/ vendor-advisory

github.com/python/cpython/issues/139700 issue-tracking

github.com/...ommit/162997bb70e067668c039700141770687bc8f267 patch

github.com/...ommit/333d4a6f4967d3ace91492a39ededbcf3faa76a6 patch

github.com/...ommit/1d29afb0d6218aa8fb5e1e4a6133a4778d89bb46 patch

github.com/...ommit/76437ac248ad8ca44e9bf697b02b1e2241df2196 patch

github.com/...ommit/8392b2f0d35678407d9ce7d95655a5b77de161b4 patch

github.com/...ommit/bca11ae7d575d87ed93f5dd6a313be6246e3e388 patch

github.com/...ommit/d11e69d6203080e3ec450446bfed0516727b85c3 patch

cve.org (CVE-2025-8291)

nvd.nist.gov (CVE-2025-8291)

Download JSON