ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:Pro:14.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:14.04:LTSpython3.4
All versions before 3.4.3-1ubuntu1~14.04.7+esm17 (fixed in 3.4.3-1ubuntu1~14.04.7+esm17)
Ubuntu:Pro:14.04:LTSpython3.5
All versions before 3.5.2-2ubuntu0~16.04.4~14.04.1+esm8 (fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm8)
Ubuntu:Pro:16.04:LTSpython3.5
All versions before 3.5.2-2ubuntu0~16.04.13+esm20 (fixed in 3.5.2-2ubuntu0~16.04.13+esm20)
Ubuntu:Pro:16.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython3.6
All versions before 3.6.9-1~18.04ubuntu1.13+esm7 (fixed in 3.6.9-1~18.04ubuntu1.13+esm7)
Ubuntu:Pro:18.04:LTSpython3.7
All versions before 3.7.5-2ubuntu1~18.04.2+esm8 (fixed in 3.7.5-2ubuntu1~18.04.2+esm8)
Ubuntu:Pro:18.04:LTSpython3.8
All versions before 3.8.0-3ubuntu1~18.04.2+esm7 (fixed in 3.8.0-3ubuntu1~18.04.2+esm7)
Ubuntu:Pro:20.04:LTSpython3.8
All versions before 3.8.10-0ubuntu1~20.04.18+esm3 (fixed in 3.8.10-0ubuntu1~20.04.18+esm3)
Ubuntu:Pro:20.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:20.04:LTSpython3.9
All versions before 3.9.5-3ubuntu0~20.04.1+esm7 (fixed in 3.9.5-3ubuntu0~20.04.1+esm7)
Ubuntu:22.04:LTSpython3.10
All versions before 3.10.12-1~22.04.12 (fixed in 3.10.12-1~22.04.12)
Ubuntu:Pro:22.04:LTSpython2.7
All versions, no fix listed
Ubuntu:Pro:22.04:LTSpython3.11
All versions before 3.11.0~rc1-1~22.04.1~esm6 (fixed in 3.11.0~rc1-1~22.04.1~esm6)
Ubuntu:24.04:LTSpython3.12
All versions before 3.12.3-1ubuntu0.9 (fixed in 3.12.3-1ubuntu0.9)
Ubuntu:25.10python3.13
All versions before 3.13.7-1ubuntu0.1 (fixed in 3.13.7-1ubuntu0.1)
Ubuntu:25.10python3.14
All versions, no fix listed

References