Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-44722 EUVD-2026-45221GHSA-crqm-m339-7m2pPYSEC-2026-3044

pyzipper: Encryption bypass for small files encrypted with pyzipper

Published Jul 17, 2026 · Updated Jul 17, 2026 · Assigned by GitHub_M

Description

pyzipper is a replacement for Python's zipfile that can read and write AES encrypted zip files. Prior to 0.4.0, a Python operator precedence bug in pyzipper/zipfile_aes.py caused the AE-2 format to never be automatically selected during encryption, causing encrypted entries to be written in AE-1 format and exposing the plaintext CRC32 checksum in the ZIP header and, for unseekable zip archives, in the datadescripter section, allowing an attacker who possesses the archive to brute-force candidate plaintexts for small or low-entropy files by comparing CRC32 values. This issue is fixed in version 0.4.0.

Affected products

VendorProductAffectedFixed
danifus pyzipper < 0.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-pyzipper 0.4.0-1 —
Debian 13 python-pyzipper No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 python-pyzipper No fix yet —
Ubuntu 26.04 LTS python-pyzipper No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pyzipper < 0.4.0 0.4.0 GHSA-crqm-m339-7m2p

References