CVE-2025-8291 ZIP64 End of Central Directory (EOCD) Locator record offset not checked
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
16 packages: 10 fixed, 1 partially fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/jython(Debian 12) | = 2.7.3+repack1-1; = 2.7.4-1; All versions | No fix listed | No fix yet |
| debian/jython(Debian 13) | = 2.7.3+repack1-1; = 2.7.4-1; All versions | No fix listed | No fix yet |
| debian/pypy3(Debian 12) | = 7.3.11+dfsg-2; = 7.3.11+dfsg-2+deb12u1; = 7.3.11+dfsg-2+deb12u2; = 7.3.11+dfsg-2+deb12u3 +29 more | No fix listed | No fix yet |
| debian/pypy3(Debian 13) | = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2; = 7.3.20+dfsg-3 +11 more | No fix listed | No fix yet |
| ubuntu/python2.7(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| cbl-mariner python3(CBL-Mariner 2.0) | < 3.9.19-16; All versions | 3.9.19-16 | Partially fixed |
| azure linux python3(Azure Linux 3.0) | < 3.12.9-5 | 3.12.9-5 | Fixed |
| debian/jython(Debian 14) | < 2.7.4-1; = 2.7.3+repack1-1 | 2.7.4-1 | Fixed |
| debian/pypy3(Debian 14) | < 7.3.21+dfsg-1; = 7.3.19+dfsg-2; = 7.3.20+dfsg-1; = 7.3.20+dfsg-2 +2 more | 7.3.21+dfsg-1 | Fixed |
| debian/python3.11(Debian 12) | < 3.11.2-6+deb12u7; = 3.11.2-6; = 3.11.2-6+deb12u1; = 3.11.2-6+deb12u2 +4 more | 3.11.2-6+deb12u7 | Fixed |
| debian/python3.13(Debian 13) | < 3.13.5-2+deb13u1; = 3.13.5-2 | 3.13.5-2+deb13u1 | Fixed |
| debian/python3.14(Debian 14) | < 3.14.0-3; = 3.14.0-1; = 3.14.0-2; = 3.14.0~a7-1 +7 more | 3.14.0-3 | Fixed |
| Python Software Foundation CPython | < 3.9.24; >= 3.10.0, < 3.10.19; >= 3.11.0, < 3.11.14; >= 3.12.0, < 3.12.12 +2 more | 3.9.24, 3.10.19, 3.11.14, 3.12.12, 3.13.10, 3.14.1 | Fixed |
| ubuntu/python3.10(Ubuntu 22.04) | < 3.10.12-1~22.04.12 | 3.10.12-1~22.04.12 | Fixed |
| ubuntu/python3.11(Ubuntu 22.04) | < 3.11.0~rc1-1~22.04.1~esm6 | 3.11.0~rc1-1~22.04.1~esm6 | Fixed |
| ubuntu/python3.12(Ubuntu 24.04) | < 3.12.3-1ubuntu0.9 | 3.12.3-1ubuntu0.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux python3(Azure Linux:3.0) | < 3.12.9-5 | 3.12.9-5 |
| cbl-mariner python3(CBL-Mariner:2.0) | < 3.9.19-16 | 3.9.19-16 |
| cbl-mariner python3(CBL-Mariner:2.0) | All versions | No fix listed |
| Python Software Foundation CPython | < 3.9.24 | 3.9.24 |
| Python Software Foundation CPython | >= 3.10.0, < 3.10.19 | 3.10.19 |
| Python Software Foundation CPython | >= 3.11.0, < 3.11.14 | 3.11.14 |
| Python Software Foundation CPython | >= 3.12.0, < 3.12.12 | 3.12.12 |
| Python Software Foundation CPython | >= 3.13.0, < 3.13.10 | 3.13.10 |
| Python Software Foundation CPython | >= 3.14.0, < 3.14.1 | 3.14.1 |
| ubuntu/python3.10(Ubuntu:22.04) | < 3.10.12-1~22.04.12 | 3.10.12-1~22.04.12 |
| ubuntu/python2.7(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python3.11(Ubuntu:22.04) | < 3.11.0~rc1-1~22.04.1~esm6 | 3.11.0~rc1-1~22.04.1~esm6 |
| ubuntu/python3.12(Ubuntu:24.04) | < 3.12.3-1ubuntu0.9 | 3.12.3-1ubuntu0.9 |
| debian/jython(Debian:12) | All versions | No fix listed |
| debian/jython(Debian:12) | = 2.7.3+repack1-1 | No fix listed |
| debian/jython(Debian:12) | = 2.7.4-1 | No fix listed |
| debian/jython(Debian:13) | All versions | No fix listed |
| debian/jython(Debian:13) | = 2.7.3+repack1-1 | No fix listed |
| debian/jython(Debian:13) | = 2.7.4-1 | No fix listed |
| debian/jython(Debian:14) | < 2.7.4-1 | 2.7.4-1 |
| debian/jython(Debian:14) | = 2.7.3+repack1-1 | No fix listed |
| debian/pypy3(Debian:12) | All versions | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u2 | No fix listed |
Show 71 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc2+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.13+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.14+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.15+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | All versions | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | < 7.3.21+dfsg-1 | 7.3.21+dfsg-1 |
| debian/pypy3(Debian:14) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:14) | = 7.3.20+dfsg-4 | No fix listed |
| debian/python3.11(Debian:12) | < 3.11.2-6+deb12u7 | 3.11.2-6+deb12u7 |
| debian/python3.11(Debian:12) | = 3.11.2-6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u4 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u5 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u6 | No fix listed |
| debian/python3.13(Debian:13) | < 3.13.5-2+deb13u1 | 3.13.5-2+deb13u1 |
| debian/python3.13(Debian:13) | = 3.13.5-2 | No fix listed |
| debian/python3.14(Debian:14) | < 3.14.0-3 | 3.14.0-3 |
| debian/python3.14(Debian:14) | = 3.14.0-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0-2 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~a7-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b3-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~b4-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc1-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc2-1 | No fix listed |
| debian/python3.14(Debian:14) | = 3.14.0~rc3-1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-8291 vendor-advisory
- github.com patch
- mail.python.org vendor-advisory
- github.com issue-tracking
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com vendor-advisory
- github.com exploit technical-description
- Ubuntu CVE tracker vendor-advisory
- USN-7886-1 vendor-advisory
- USN-7886-2 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking