Use of Incorrect Operator
CVE-2026-44722
Summary
A Python operator precedence bug in "pyzipper/zipfile_aes.py" caused the AE-2 format to never be automatically selected during encryption, regardless of file size or compression type. As a result, all encrypted entries are written in AE-1 format unless AE-2 is explicitly forced by the caller. AE-1 stores the plaintext CRC32 checksum unencrypted in the ZIP header. During investigation of this issue, it was also found that when writing to an unseekable zip archive, the CRC32 value was always written to the datadescripter section. Affected versions are prior to 0.4.0.
- LOW
- LOCAL
- NONE
- UNCHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-480 - Use of Incorrect Operator
The programmer accidentally uses the wrong operator, which changes the application logic in security-relevant ways.
References
Advisory Timeline
- Published