CVE-2025-8291

Public on 2025-10-07
Modified on 2025-10-10
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.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
4.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core python3 2025-10-27 ALAS2-2025-3041 Fixed
Amazon Linux 2023 python3.11 2025-10-27 ALAS2023-2025-1236 Fixed
Amazon Linux 2023 python3.12 2025-10-27 ALAS2023-2025-1232 Fixed
Amazon Linux 2023 python3.13 2025-10-27 ALAS2023-2025-1235 Fixed
Amazon Linux 2023 python3.9 2025-10-27 ALAS2023-2025-1237 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
NVD CVSSv3 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N