Skip to main content
VulnerabilityPublished Updated

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

Affects pythonSource GCVE Database

0
Compare
Authoritative record:CVE-2025-8291· Medium 4.3

Not known to be exploited · CVSS 4.3 Medium · fixed in 3.14.1 : update python when convenient.

Data as of 25 Nov 2026, 03:34 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.14.1, 3.13.10, 3.12.12 +3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Bitnamipythonpkg:bitnami/pythonOther threatsAffected
  • <3.9.24
  • >=3.10.0 <3.10.19
  • >=3.11.0 <3.11.14
  • >=3.12.0 <3.12.12
  • >=3.13.0 <3.13.10
  • >=3.14.0 <3.14.1
Fixed in
  • 3.9.24
  • 3.10.19
  • 3.11.14
  • 3.12.12
  • 3.13.10
  • 3.14.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Python versions 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, and 3.14.1. Users should upgrade to these or later versions to ensure the ZIP64 EOCD Locator record offset is properly validated. No additional mitigation is required as the patch maintains the original behavior while adding necessary validation.

Description

A vulnerability in Python's 'zipfile' module allows ZIP64 End of Central Directory (EOCD) Locator record offset values to be unchecked, causing the module to assume the ZIP64 EOCD record is the previous record in the archive. This discrepancy can lead to ZIP archives being handled differently by Python compared to other ZIP implementations. The issue affects multiple Python versions prior to specific fixed releases.

References

Community reviews

Loading reviews…