# CVE-2023-45853: pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.45%, higher than 89% of CVEs (2026-12-02)
- Published: 2023-10-14T00:00:00.000Z
- Modified: 2026-11-16T16:15:06.527Z
- Also known as: GHSA-mq29-j5xf-cjwr, PYSEC-2026-501
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zlib zlib: before 1.3; before 1.3.1
- pyminizip (PyPI): up to 0.2.6
- smihica pyminizip: up to 0.2.6

## Every score

- CISA-ADP: CVSS: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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/madler/zlib/pull/843> (issue-tracking, patch, web)
- <https://www.winimage.com/zLibDll/minizip.html> (product, web)
- <https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4> (product, web)
- <https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61> (mailing-list, patch, web)
- <https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356> (mailing-list, patch, web)
- <http://www.openwall.com/lists/oss-security/2023/10/20/9> (mailing-list, web)
- <https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html> (mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20231130-0009/> (third-party-advisory)
- <https://pypi.org/project/pyminizip/#history> (release-notes, web)
- <https://security.gentoo.org/glsa/202401-18> (third-party-advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/01/24/10> (mailing-list, web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-769027.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-470355.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45853> (advisory)
- <https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c> (web)
- <https://security.netapp.com/advisory/ntap-20231130-0009> (web)
- <https://pypi.org/project/pyminizip> (package, web)
- <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)

## Sources

- CVE List: [CVE-2023-45853](https://www.cve.org/CVERecord?id=CVE-2023-45853), CVE Terms of Use, modified 2026-10-14
- GitHub Advisory Database: [GHSA-mq29-j5xf-cjwr](https://github.com/advisories/GHSA-mq29-j5xf-cjwr), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2023-45853](https://nvd.nist.gov/vuln/detail/CVE-2023-45853), Public domain, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-501](https://osv.dev/vulnerability/PYSEC-2026-501), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2023-45853 · Whole record: https://cve.day/CVE-2023-45853.json · Rebuilt by cve.day 2026-11-25T22:58:28.770Z
