CVE-2025-8291
ZIP64 End of Central Directory (EOCD) Locator record offset not checked
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.
How to fix CVE-2025-8291
To remediate CVE-2025-8291, upgrade the affected package to a fixed version below.
- —upgrade to 3.9.24 or later
- —upgrade to 3.9.24 or later
- —upgrade to 3.9.24 or later
- —no fix listed
- —upgrade to 7.3.5+dfsg-2+deb11u5 or later
- —upgrade to 3.11.2-6+deb12u7 or later
- —upgrade to 3.13.5-2+deb13u1 or later
- —upgrade to 3.14.0-3 or later
- —upgrade to 3.9.2-1+deb11u4 or later
Is CVE-2025-8291 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (9)
- from 0, < 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
- from 0, < 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
- from 0, < 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
- from 0
- from 0, < 7.3.5+dfsg-2+deb11u5
- from 0, < 3.11.2-6+deb12u7
- from 0, < 3.13.5-2+deb13u1
- from 0, < 3.14.0-3
- from 0, < 3.9.2-1+deb11u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |