ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2025-8291

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12jython
All versions, no fix listed
Debian:13jython
All versions, no fix listed
Debian:14jython
All versions before 2.7.4-1 (fixed in 2.7.4-1)
Debian:12pypy3
All versions, no fix listed
Debian:13pypy3
All versions, no fix listed
Debian:14pypy3
All versions before 7.3.21+dfsg-1 (fixed in 7.3.21+dfsg-1)
Debian:12python3.11
All versions before 3.11.2-6+deb12u7 (fixed in 3.11.2-6+deb12u7)
Debian:13python3.13
All versions before 3.13.5-2+deb13u1 (fixed in 3.13.5-2+deb13u1)
Debian:14python3.14
All versions before 3.14.0-3 (fixed in 3.14.0-3)

References