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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-07 · Modified: 2026-07-31
- Aliases: SUSE-SU-2025:4313-1, RHSA-2025:23323, RHSA-2025:23940, RHSA-2026:0353, RHSA-2026:0354, RHSA-2026:0355, UBUNTU-CVE-2025-8291, DEBIAN-CVE-2025-8291, CGA-2ggr-fjww-gcpr, CGA-2pcc-9jgm-82c5, CGA-5gm9-c74c-5mmh, CGA-5v4f-2w9g-f95c, CGA-cm3p-7mh3-mpvj, CGA-gw64-xx5q-wv8f, CGA-h377-pc9x-35x7, CGA-j2x5-gf5c-3qfh, CGA-rwcw-mcq3-58x9, CGA-vcgj-g6cw-r5jm, CGA-7xv2-h2gr-5wc8, CGA-xvj6-5fpj-2mfq
- Record: https://cvemate.com/vulnerability/CVE-2025-8291 · JSON: https://cvemate.com/vulnerability/CVE-2025-8291/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.489%, percentile 43.716%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 53)

- chainguard python-3.10 (Chainguard): \< 3.10.19-r0
- chainguard python-3.11 (Chainguard): \< 3.11.14-r0
- chainguard python-3.12 (Chainguard): \< 3.12.12-r0
- chainguard python-3.13 (Chainguard): \< 3.13.8-r1
- chainguard python-3.14 (Chainguard): \< 3.14.0-r2
- chainguard python-3.9 (Chainguard): \< 3.9.24-r0
- wolfi python-3.10 (Wolfi): \< 3.10.19-r0
- wolfi python-3.11 (Wolfi): \< 3.11.14-r0
- wolfi python-3.12 (Wolfi): \< 3.12.12-r0
- wolfi python-3.13 (Wolfi): \< 3.13.8-r1
- wolfi python-3.14 (Wolfi): \< 3.14.0-r2
- debian jython (Debian): All versions (No fix recorded) \| \< 2.7.4-1
- debian pypy3 (Debian): All versions (No fix recorded) \| \< 7.3.21+dfsg-1
- debian python3.11 (Debian): \< 3.11.2-6+deb12u7
- debian python3.13 (Debian): \< 3.13.11-1 \| \< 3.13.5-2+deb13u1
- debian python3.14 (Debian): \< 3.14.0-3
- ubuntu python2.7 (Ubuntu): All versions (No fix recorded)
- ubuntu python3.10 (Ubuntu): \< 3.10.12-1~22.04.12
- ubuntu python3.11 (Ubuntu): \< 3.11.0~rc1-1~22.04.1~esm6
- ubuntu python3.12 (Ubuntu): \< 3.12.3-1ubuntu0.9

## References (first 20 of 37)

- <https://github.com/python/cpython/pull/139702>
- <https://mail.python.org/archives/list/security-announce@python.org/thread/QECOPWMTH4VPPJAXAH2BGTA4XADOP62G/>
- <https://github.com/python/cpython/issues/139700>
- <https://github.com/python/cpython/commit/162997bb70e067668c039700141770687bc8f267>
- <https://github.com/python/cpython/commit/333d4a6f4967d3ace91492a39ededbcf3faa76a6>
- <https://github.com/python/cpython/commit/1d29afb0d6218aa8fb5e1e4a6133a4778d89bb46>
- <https://github.com/python/cpython/commit/76437ac248ad8ca44e9bf697b02b1e2241df2196>
- <https://github.com/python/cpython/commit/8392b2f0d35678407d9ce7d95655a5b77de161b4>
- <https://github.com/python/cpython/commit/bca11ae7d575d87ed93f5dd6a313be6246e3e388>
- <https://github.com/python/cpython/commit/d11e69d6203080e3ec450446bfed0516727b85c3>
- <https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2025-12.json>
- <https://github.com/google/security-research/security/advisories/GHSA-hhv7-p4pg-wm6p>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254313-1/>
- <https://bugzilla.suse.com/1251305>
- <https://www.suse.com/security/cve/CVE-2025-8291>
- <https://access.redhat.com/errata/RHSA-2025:23323>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2402342>
- <https://issues.redhat.com/browse/RHEL-125856>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_23323.json>

---

Data as of 2026-12-05T08:01:33.320Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
