{"id":"CVE-2023-45853","aliases":["CVE-2023-45853","GHSA-mq29-j5xf-cjwr","PYSEC-2026-501"],"related":[],"kind":"vulnerability","state":"published","title":"pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\npyminizip uses version 1.2.11 of zlib's code.","format":"markdown","source":"ghsa"},{"lang":"es","text":"MiniZip en zlib hasta 1.3 tiene un desbordamiento de enteros y un desbordamiento de búfer basado en montón resultante en zipOpenNewFileInZip4_64 a través de un nombre de archivo largo, un comentario o un campo adicional. NOTA: MiniZip no es una parte compatible del producto zlib.","source":"nvd"}],"published":"2023-10-14T00:00:00.000Z","modified":"2026-11-16T16:15:06.527Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.3","status":"affected"}],"vendor":"zlib","product":"zlib","cpe":"cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.2.6"}],"ecosystem":"PyPI","package":"pyminizip","purl":"pkg:pypi/pyminizip","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.1"}],"vendor":"zlib","product":"zlib","cpe":"cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","lastAffected":"0.2.6"}],"vendor":"smihica","product":"pyminizip","cpe":"cpe:2.3:a:smihica:pyminizip:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.2.6"}],"ecosystem":"PyPI","package":"pyminizip","purl":"pkg:pypi/pyminizip","source":"pysec"}],"references":[{"url":"https://github.com/madler/zlib/pull/843","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.winimage.com/zLibDll/minizip.html","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/madler/zlib/blob/ac8f12c97d1afd9bafa9c710f827d40a407d3266/contrib/README.contrib#L1-L4","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61","tags":["mailing-list","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356","tags":["mailing-list","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/20/9","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.netapp.com/advisory/ntap-20231130-0009/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://pypi.org/project/pyminizip/#history","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.gentoo.org/glsa/202401-18","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2024/01/24/10","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-470355.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45853","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://security.netapp.com/advisory/ntap-20231130-0009","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pyminizip","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/smihica/pyminizip","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyminizip/PYSEC-2026-501.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mq29-j5xf-cjwr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-07-19T03:55:37.318Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45853","url":"https://www.cve.org/CVERecord?id=CVE-2023-45853","licence":"CVE Terms of Use","modified":"2026-10-14T23:55:52.951Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mq29-j5xf-cjwr","url":"https://github.com/advisories/GHSA-mq29-j5xf-cjwr","licence":"CC-BY-4.0","modified":"2026-11-16T16:15:06.527Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45853","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45853","licence":"Public domain","modified":"2026-10-15T00:16:39.750Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-501","url":"https://osv.dev/vulnerability/PYSEC-2026-501","licence":"CC-BY-4.0","modified":"2026-07-01T20:23:02.988Z"}],"updatedAt":"2026-11-25T22:58:28.770Z","epss":{"score":0.03448,"percentile":0.89324,"date":"2026-12-02T12:00:21.000Z"}}