{"id":"CVE-2026-44722","state":"PUBLISHED","title":"pyzipper: Encryption bypass for small files encrypted with pyzipper","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.","publishedAt":"2026-07-17T16:42:01.472Z","updatedAt":"2026-07-17T17:25:08.270Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["danifus pyzipper"],"affected":[{"vendor":"danifus","product":"pyzipper","versions":[{"version":"< 0.4.0","status":"affected"}]}],"references":["https://github.com/danifus/pyzipper/security/advisories/GHSA-crqm-m339-7m2p","https://github.com/danifus/pyzipper/commit/93ce88e7dfd1635443197dab3fb8d477cff579ae","https://github.com/danifus/pyzipper/releases/tag/v0.4.0"],"weaknesses":["CWE-480"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44722.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44722","state":"PUBLISHED","datePublished":"2026-07-17T16:42:01.472Z","dateUpdated":"2026-07-17T17:25:08.270Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-07T18:04:17.308Z"},"containers":{"cna":{"title":"pyzipper: Encryption bypass for small files encrypted with pyzipper","descriptions":[{"lang":"en","value":"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":[{"vendor":"danifus","product":"pyzipper","versions":[{"version":"< 0.4.0","status":"affected"}]}],"references":[{"url":"https://github.com/danifus/pyzipper/security/advisories/GHSA-crqm-m339-7m2p","name":"https://github.com/danifus/pyzipper/security/advisories/GHSA-crqm-m339-7m2p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/danifus/pyzipper/commit/93ce88e7dfd1635443197dab3fb8d477cff579ae","name":"https://github.com/danifus/pyzipper/commit/93ce88e7dfd1635443197dab3fb8d477cff579ae","tags":["x_refsource_MISC"]},{"url":"https://github.com/danifus/pyzipper/releases/tag/v0.4.0","name":"https://github.com/danifus/pyzipper/releases/tag/v0.4.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-480","lang":"en","description":"CWE-480: Use of Incorrect Operator","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-17T16:42:01.472Z"},"source":{"advisory":"GHSA-crqm-m339-7m2p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T17:25:00.965188Z","id":"CVE-2026-44722","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T17:25:08.270Z"}}]}}}