ZIP64 End of Central Directory (EOCD) Locator record offset not checked
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 20 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Python Software Foundation | CPython | before 3.9.24; 3.10.0 to before 3.10.19; 3.11.0 to before 3.11.14; 3.12.0 to before 3.12.12; 3.13.0 to before 3.13.10; 3.14.0 to before 3.14.1 | 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, 3.14.1 | Patch available | CNA |
- CPython VendorPython Software Foundation Affected before 3.9.24; 3.10.0 to before 3.10.19; 3.11.0 to before 3.11.14; 3.12.0 to before 3.12.12; 3.13.0 to before 3.13.10; 3.14.0 to before 3.14.1 Fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, 3.14.1 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | — | — | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions — — ·python-pillow
Remediation
- Fix · CNA CPython (Python Software Foundation) Fixed in 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, 3.14.1
Red Hat 16 advisories
- RHSA-2026:8824 Released 2026-04-17 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.12-3.12.13-3.hum1@aarch64, python3.12-3.12.13-3.hum1@src, python3.12-3.12.13-3.hum1@x86_64 +12
- RHSA-2026:8822 Released 2026-04-17 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.11-3.11.15-4.hum1@aarch64, python3.11-3.11.15-4.hum1@src, python3.11-3.11.15-4.hum1@x86_64 +12
- RHSA-2026:7661 Released 2026-04-11 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python-unversioned-command-3.14.4-1.hum1@noarch@public-hummingbird-aarch64-rpms, python-unversioned-command-3.14.4-1.hum1@noarch@public-hummingbird-x86_64-rpms, python3-3.14.4-1.hum1@aarch64 +28
Show 13 more Red Hat advisories
- RHSA-2026:7443 Released 2026-04-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python3.13-3.13.13-1.hum1@aarch64, python3.13-3.13.13-1.hum1@src, python3.13-3.13.13-1.hum1@x86_64 +16
- RHSA-2026:1858 Released 2026-02-03 · Red Hat rating ImportantRed Hat Ceph Storage
- Red Hat Ceph Storage 7 registry.redhat.io/rhceph/rhceph-7-rhel9
- RHSA-2026:1652 Released 2026-02-02 · Red Hat rating ImportantRed Hat Ceph Storage
- Red Hat Ceph Storage 8 registry.redhat.io/rhceph/rhceph-8-rhel9
- RHSA-2026:0685 Released 2026-01-15 · Red Hat rating ModerateRed Hat Update Infrastructure 5 security update
- Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9, registry.redhat.io/rhui5/installer-rhel9 +1
- RHSA-2026:0414 Released 2026-01-08 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
- RHSA-2026:0355 Released 2026-01-08 · Red Hat rating Moderatepython3.12 security update
- Red Hat CodeReady Linux Builder EUS (v.9.6) python3.12-3.12.9-1.el9_6.3, python3.12-debug-3.12.9-1.el9_6.3, python3.12-idle-3.12.9-1.el9_6.3 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.6) python3.12-3.12.9-1.el9_6.3, python3.12-devel-3.12.9-1.el9_6.3, python3.12-libs-3.12.9-1.el9_6.3 +1
- RHSA-2026:0354 Released 2026-01-08 · Red Hat rating Moderatepython3.12 security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) python3.12-3.12.1-4.el9_4.8, python3.12-debug-3.12.1-4.el9_4.8, python3.12-idle-3.12.1-4.el9_4.8 +2
- Red Hat Enterprise Linux AppStream EUS (v.9.4) python3.12-3.12.1-4.el9_4.8, python3.12-devel-3.12.1-4.el9_4.8, python3.12-libs-3.12.1-4.el9_4.8 +1
- RHSA-2026:0353 Released 2026-01-08 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) python-unversioned-command-3.12.9-2.el10_0.4, python3-devel-3.12.9-2.el10_0.4, python3-tkinter-3.12.9-2.el10_0.4
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) python3-3.12.9-2.el10_0.4, python3-libs-3.12.9-2.el10_0.4, python3.12-3.12.9-2.el10_0.4
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) python3-debug-3.12.9-2.el10_0.4, python3-idle-3.12.9-2.el10_0.4, python3-test-3.12.9-2.el10_0.4
- RHSA-2026:0123 Released 2026-01-06 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 8) python3.12-3.12.12-1.el8_10, python3.12-devel-3.12.12-1.el8_10, python3.12-libs-3.12.12-1.el8_10 +2
- Red Hat Enterprise Linux CRB (v. 8) python3.12-3.12.12-1.el8_10, python3.12-debug-3.12.12-1.el8_10, python3.12-idle-3.12.12-1.el8_10 +2
- RHSA-2025:23940 Released 2025-12-22 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 10) python-unversioned-command-3.12.12-1.el10_1, python3-devel-3.12.12-1.el10_1, python3-tkinter-3.12.12-1.el10_1
- Red Hat Enterprise Linux BaseOS (v. 10) python3-3.12.12-1.el10_1, python3-libs-3.12.12-1.el10_1, python3.12-3.12.12-1.el10_1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) python3-debug-3.12.12-1.el10_1, python3-idle-3.12.12-1.el10_1, python3-test-3.12.12-1.el10_1
- RHSA-2025:23342 Released 2025-12-18 · Red Hat rating Moderatepython3.9 security update
- Red Hat Enterprise Linux AppStream (v. 9) python-unversioned-command-3.9.25-2.el9_7, python3-devel-3.9.25-2.el9_7, python3-tkinter-3.9.25-2.el9_7
- Red Hat Enterprise Linux BaseOS (v. 9) python3-3.9.25-2.el9_7, python3-libs-3.9.25-2.el9_7, python3.9-3.9.25-2.el9_7
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3-3.9.25-2.el9_7, python3-debug-3.9.25-2.el9_7, python3-idle-3.9.25-2.el9_7 +2
- RHSA-2025:23323 Released 2025-12-18 · Red Hat rating Moderatepython3.12 security update
- Red Hat Enterprise Linux AppStream (v. 9) python3.12-3.12.12-1.el9_7, python3.12-devel-3.12.12-1.el9_7, python3.12-libs-3.12.12-1.el9_7 +1
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) python3.12-3.12.12-1.el9_7, python3.12-debug-3.12.12-1.el9_7, python3.12-idle-3.12.12-1.el9_7 +2
- RHSA-2025:23530 Released 2025-12-18 · Red Hat rating Importantpython39:3.9 security update
- Red Hat Enterprise Linux AppStream (v. 8) PyYAML-5.4.1-1.module+el8.9.0+19644+d68f775d.src::python39:3.9, mod_wsgi-4.7.1-7.module+el8.10.0+23075+0aa18782.1.src::python39:3.9, numpy-1.19.4-3.module+el8.9.0+19644+d68f775d.src::python39:3.9 +47
- Red Hat Enterprise Linux CRB (v. 8) Cython-0.29.21-5.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9, pybind11-2.7.1-1.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9, pytest-6.0.2-2.module+el8.9.0+19644+d68f775d.src::python39-devel:3.9 +33
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 7 | Fixed | RHSA-2026:1858 |
| Red Hat Ceph Storage 8 | Fixed | RHSA-2026:1652 |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2026:0354 |
| Red Hat CodeReady Linux Builder EUS (v.9.6) | Fixed | RHSA-2026:0355 |
| Red Hat Discovery 2 | Fixed | RHSA-2026:0414 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:23940 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:23530, RHSA-2026:0123 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:23323, RHSA-2025:23342 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:0353 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:0354 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:0355 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2025:23940 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:23342 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:0353 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2025:23530, RHSA-2026:0123 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2025:23940 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2025:23323, RHSA-2025:23342 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2026:0353 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7443, RHSA-2026:7661, RHSA-2026:8822, RHSA-2026:8824 |
| Red Hat Update Infrastructure 5 | Fixed | RHSA-2026:0685 |
Not affected: 2 products
- Red Hat Ceph Storage 7
- Red Hat Ceph Storage 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-8291
- 2026-10-03 Alias added: GHSA-49g5-f6qw-8mm7
References
Patch 8
- https://github.com/python/cpython/pull/139702
- 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
Advisory 1
More Python Software Foundation vulnerabilities
- TI-2024-07037 Quadratic complexity parsing cookies with backslashes CVSS 3.1HIGH 7.5
- TI-2024-11791 Bypass extraction filter to modify file metadata outside extraction directory CVSS 3.1MEDIUM 5.3
- TI-2024-00411 Quoted zip-bomb protection for zipfile CVSS 3.1MEDIUM 6.2
- TI-2026-13296 `HTTPPasswordMgr` can send saved HTTPS credentials via HTTP because of incorrect scheme matching CVSS 4.0MEDIUM 6.0
- TI-2024-06422 Email header injection due to unquoted newlines CVSS 3.1MEDIUM 5.5
- TI-2026-04606 Possible to hijack modules in current working directory CVSS 4.0MEDIUM 5.6
Sources
- CVE-2025-8291 · CVE Program
- CVE-2025-8291 · NVD
- FIRST EPSS
- GHSA-49g5-f6qw-8mm7 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-8291 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences