Skip to main content
VulnerabilityPublished Updated

CVE-2025-8291: Python Software Foundation CPython · CWE-1285

Affects Python Software Foundation CPythonSource GCVE Database

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

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 09:16 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Python Software Foundation CPythonAffected
  • =3.10.0
  • =3.11.0
  • =3.12.0
  • =3.13.0
  • =3.14.0
  • 0
  • 3.10.0
  • 3.11.0
  • 3.12.0
  • 3.13.0
  • 3.14.0
Fixed in–

AI-suggested

A remediation has been implemented that maintains the original behavior but adds validation to ensure the ZIP64 EOCD Locator offset matches the expected value. No additional action is required beyond applying the official fix when available.

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.

References

Community reviews

Loading reviews…