CVE-2025-8291

MEDIUM

Zipfile - Buffer Overflow

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 4.3
EPSS 0.0011
EPSS Percentile 29.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-1285
Status published
Products (7)
Python Software Foundation/CPython < 3.10.19
Python Software Foundation/CPython < 3.9.24
Python Software Foundation/CPython 3.10.0 - 3.10.19
Python Software Foundation/CPython 3.11.0 - 3.11.14
Python Software Foundation/CPython 3.12.0 - 3.12.12
Python Software Foundation/CPython 3.13.0 - 3.13.10
Python Software Foundation/CPython 3.14.0 - 3.14.1
Published Oct 07, 2025
Tracked Since Feb 18, 2026