CRITICAL 9.8 PyPI
pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency
GHSA-mq29-j5xf-cjwr · CVE-2023-45853 · PYSEC-2026-501
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
pyminizip uses version 1.2.11 of zlib's code.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-45853
- WEB https://github.com/madler/zlib/pull/843
- WEB https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c
- WEB https://www.winimage.com/zLibDll/minizip.html
- WEB https://security.netapp.com/advisory/ntap-20231130-0009
- WEB https://security.gentoo.org/glsa/202401-18
- WEB https://pypi.org/project/pyminizip/#history
- WEB https://pypi.org/project/pyminizip
- WEB https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html
- WEB https://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c
- PACKAGE https://github.com/smihica/pyminizip
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/pyminizip/PYSEC-2026-501.yaml
- WEB https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4
- WEB https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61
- WEB https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356
- WEB https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- WEB https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- WEB https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- WEB http://www.openwall.com/lists/oss-security/2023/10/20/9
- WEB http://www.openwall.com/lists/oss-security/2024/01/24/10
Ready to move
Start Securing
Free, no credit card | First findings in minutes