Security Digest · Vulnerability record
CVE-2023-45853: pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency
MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip464 via a long filename, comment, or extra field.
CVSS 8.8 High EPSS 3.4% · p89
Should you act?
Normal patch cycle
No exploitation signal; fix it in your next routine update if you are affected. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.
- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 3.4%, percentile 89: FIRST’s model estimates a 3.4% chance of exploitation activity in the next 30 days, higher than 89% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Needs a user to click or open something. Phishing makes that realistic, but it is not wormable.
- Only applies if your dependency tree includes
pyminizip(PyPI) <= 0.2.6, no fixed version listed. Check your lockfile, including transitive dependencies.
What it is
MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip464 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product. NOTE: pyminizip through 0.2.6 is also vulnerable because it bundles an affected zlib version, and exposes the applicable MiniZip code through its compress API.
From the GitHub advisory
MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buffer overflow in zipOpenNewFileInZip464 via a long filename, comment, or extra field. NOTE: MiniZip is not a supported part of the zlib product.
pyminizip uses version 1.2.11 of zlib's code.
Weakness type: CWE-190.
Product: pyminizip (PyPI) · Assigned by: mitre · Published: 2023-10-14
Affected and fixed versions
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| PyPI | pyminizip | <= 0.2.6 | none listed |
| Vendor | Product | Affected versions (per CVE record) |
|---|---|---|
| n/a | n/a | see vendor advisory |
Severity scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADP | 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- Attack vector: network (remotely reachable)
- Attack complexity: low
- Privileges required: none (no login)
- User interaction: required (a user must click/open something)
- Scope: unchanged
CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.
Exploitation and urgency
- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none, automatable no, technical impact total.
- FIRST EPSS (model of 2026-10-21): 3.45% probability of exploitation activity in the next 30 days; percentile 89.
Timeline
- — CVE record published by mitre
- — GitHub-reviewed advisory GHSA-mq29-j5xf-cjwr published (critical)
- — CVE record last updated
Sources and references
Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.
Vendor and project advisories, patches
- GLSA-202401-18 security.gentoo.org
Vulnerability records
- GitHub Advisory GHSA-mq29-j5xf-cjwr github.com
- CVE.org record CVE-2023-45853 cve.org
- NVD entry CVE-2023-45853 nvd.nist.gov
Other references from the CVE record and advisory
- github.com github.com
- winimage.com winimage.com
- github.com github.com
- chromium.googlesource.com chromium.googlesource.com
- chromium.googlesource.com chromium.googlesource.com
- [oss-security] 20231020 CVE-2023-45853: overflows in MiniZip in zlib through 1.3 openwall.com
- [debian-lts-announce] 20231127 [SECURITY] [DLA 3670-1] minizip security update lists.debian.org
- security.netapp.com security.netapp.com
- pypi.org pypi.org
- [oss-security] 20240124 Re: CVE-2023-45853: overflows in MiniZip in zlib through 1.3 openwall.com
- cert-portal.siemens.com cert-portal.siemens.com
- cert-portal.siemens.com cert-portal.siemens.com
- cert-portal.siemens.com cert-portal.siemens.com
- github.com github.com
- github.com github.com