Skip to main content
VulnerabilityPublished Updated

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

Affects libpythonSource 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 libpython when convenient.

Data as of 25 Nov 2026, 03:33 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
Bitnamilibpythonpkg:bitnami/libpythonOther 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 patch is available that fixes this issue by adding validation of the ZIP64 EOCD Locator record offset while maintaining the original behavior of the module. Users should upgrade to one of the fixed versions: 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, or 3.14.1 to remediate this vulnerability.

Description

A vulnerability in the libpython 'zipfile' module involves improper validation of the ZIP64 End of Central Directory (EOCD) Locator record offset. The module does not verify the offset value and assumes the ZIP64 EOCD record is the previous record in the archive, which can cause inconsistent handling of ZIP archives compared to other implementations. This behavior is maintained in the fix, but now includes a check to ensure the offset matches the expected value.

References

Community reviews

Loading reviews…