CVE-2023-45853
CRITICAL 9.8CVSS 3.1pyminizip 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 zipOpenNewFileInZip4_64 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.
- Published
- 14 Oct 2023
- Last modified
- 16 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-190
- Also known as
- GHSA-mq29-j5xf-cjwrPYSEC-2026-501
- Sources
- NVDJSONOSV GHSA-mq29-j5xf-cjwrJSONOSV PYSEC-2026-501JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zlib | zlibcpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* |
< 1.3.1 | 1.3.1 |
| NVD | smihica | pyminizipcpe:2.3:a:smihica:pyminizip:*:*:*:*:*:python:*:* |
<= 0.2.6 | |
| OSV | PyPI | pyminizip | <= 0.2.6 |
References
- http://www.openwall.com/lists/oss-security/2023/10/20/9 · Mailing List, WEB
- http://www.openwall.com/lists/oss-security/2024/01/24/10 · Mailing List, WEB
- https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356 · Mailing List, Patch, WEB
- https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61 · Mailing List, Patch, WEB
- https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4 · Product, WEB
- https://github.com/madler/zlib/pull/843 · Issue Tracking, Patch, WEB
- https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html · Mailing List, Third Party Advisory, WEB
- https://pypi.org/project/pyminizip/#history · Release Notes, WEB
- https://security.gentoo.org/glsa/202401-18 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20231130-0009/ · Third Party Advisory, WEB
- https://www.winimage.com/zLibDll/minizip.html · Product, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-45853 · ADVISORY
- https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c · WEB
- https://pypi.org/project/pyminizip · WEB, PACKAGE
- https://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c · WEB
- https://github.com/smihica/pyminizip · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pyminizip/PYSEC-2026-501.yaml · WEB
- https://github.com/advisories/GHSA-mq29-j5xf-cjwr · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 14 Oct 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 Oct 2023)