CVE-2025-8291: ZIP64 End of Central Directory (EOCD) Locator record offset not checked

CVE-2025-8291 affects 206 listed versions of Python in the Dawnsentry catalogue.

4.3CVSS medium
Proof of concept publicexploitation
under 1%EPSS (next 30 days)
7 October 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Python

206 of 250 listed versions are affected. Fixed in 3.14.1, 3.13.10, 3.12.12, 3.11.14, 3.10.19, 3.9.24. The newest release, 3.15.2, is not affected.

3.14.0 3.13.9 3.13.8 3.13.7 3.13.6 3.13.5 3.13.4 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.2 3.11.13 3.11.12 3.11.11 3.11.10 3.11.9 3.11.8 3.11.7 3.11.6 3.11.5 3.11.4 3.10.18 3.10.17 3.10.16 3.10.15 3.10.14 3.10.13 3.10.12 3.10.11 3.10.10 3.10.9 3.10.8 3.9.23 3.9.22 3.9.21 3.9.20 3.9.19 3.9.18 3.9.17 3.9.16 3.9.15 3.9.14 3.9.13 3.9.12 3.9.11 3.8.20 3.8.19 3.8.18 3.8.17 3.8.16 3.8.15 3.8.14 3.8.13 3.8.12 and 146 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N (Psf)

Published by Psf on 7 October 2025. Last changed 8 October 2026.

Sources

Check one version you run: look CVE-2025-8291 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.