CVE-2025-8291

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability41. percentile0.5%
ProductCPython
PublishedOct 7, 2025
First seenOct 7, 2025
Weakness typeCWE-1285CWE-1285

How to fix

Affected products

ProductAffected versionsFixed in
Python Software Foundation CPythonv < 3.9.24, 3.10.0 ≤ v < 3.10.19, 3.11.0 ≤ v < 3.11.14, 3.12.0 ≤ v < 3.12.12, 3.13.0 ≤ v < 3.13.10, 3.14.0 ≤ v < 3.14.13.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, 3.14.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.