{"id":"CVE-2023-45853","kind":"vulnerability","aliases":["CVE-2023-45853","GHSA-mq29-j5xf-cjwr"],"related":[],"title":"pyminizip affected by zlib's integer overflow/heap based buffer overflow vulnerability due to vulnerable dependency","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.","summary":"pyminizip bundles MiniZip code from zlib 1.2.11, which has an integer overflow in zipOpenNewFileInZip4_64 when a file name, comment, or extra field is very long. The overflow leads to a heap-based buffer overflow that can crash or potentially run attacker-supplied code.","severity":"critical","cvss":9.8,"epss":0.03448,"exploited":false,"exploited_at":null,"products":[{"name":"pyminizip","fixed":[],"affected":"<= 0.2.6","ecosystem":"pypi"},{"name":"zlib","fixed":["1.3.1"],"affected":"< 1.3.1","ecosystem":"vendor"},{"name":"smihica pyminizip","fixed":[],"affected":"<= 0.2.6","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["cwe-190","package","pyminizip","python"],"not_affected_if":["not-using-pyminizip","untrusted-input"],"how_to_check":"- Run `pip show pyminizip` to see the installed version, and check whether it is `0.2.6` or older.\n- Check whether your code builds zip archives from untrusted file names, comments, or extra fields.","fix":"- pyminizip: no fixed version is listed in the product data (fixed ?); the sources do not state one.","status":"open","published_at":"2023-10-14T02:15:09+00:00","first_seen_at":"2026-11-16T16:08:25+00:00","triaged_at":"2026-11-16T16:08:54+00:00","updated_at":"2026-11-16T16:38:06+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T16:08:54Z","model":"claude-haiku-5-5","output":{"fix":"- pyminizip: no fixed version is listed in the product data (fixed ?); the sources do not state one.","reach":"unknown","title":"pyminizip: zlib MiniZip integer overflow allows heap buffer overflow","impact":"high","summary":"pyminizip bundles MiniZip code from zlib 1.2.11, which has an integer overflow in zipOpenNewFileInZip4_64 when a file name, comment, or extra field is very long. The overflow leads to a heap-based buffer overflow that can crash or potentially run attacker-supplied code.","audience":"developers","category":"package","nicknames":[],"who_cares":["python","pyminizip"],"confidence":0.7,"fix_status":"unknown","needs_auth":"unknown","worst_case":"attacker-controlled input corrupts heap memory, possibly running code","analyst_note":"Confirm whether pyminizip has a released version that updates the bundled zlib, and whether the GHSA page names one; the product data gives no fixed version.","how_to_check":"- Run `pip show pyminizip` to see the installed version, and check whether it is `0.2.6` or older.\n- Check whether your code builds zip archives from untrusted file names, comments, or extra fields.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["untrusted-input","not-using-pyminizip"],"who_is_affected":"Any application that uses pyminizip `0.2.6` or older to create zip archives, especially where file names, comments, or extra fields come from untrusted input. Code that does not use pyminizip, or only processes archives it created itself from trusted data, is much less exposed. The sources do not say which zlib versions beyond 1.3 are affected.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000774,"input_tokens":4627,"output_tokens":623,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-190':32B '-2023':17A,25A '-45853':18A,26A '0.2.6':123C '1.2.11':42B '1.3':86C '64':50B,100C 'affect':2A,131C 'also':125C 'api':143C 'applic':137C 'attack':79B 'attacker-suppli':78B 'base':8A,69B,95C 'buffer':9A,70B,96C 'bundl':37B,129C 'cjwr':23A 'code':39B,81B,139C 'comment':55B,105C 'compress':142C 'crash':74B 'cve':16A,24A 'cwe':31B 'depend':15A 'due':12A 'expos':135C 'extra':57B,107C 'field':58B,108C 'file':53B 'filenam':104C 'ghsa':20A 'ghsa-mq29-j5xf-cjwr':19A 'heap':68B,94C 'heap-bas':67B,93C 'integ':6A,46B,89C 'j5xf':22A 'lead':64B 'long':61B,103C 'minizip':38B,82C,110C,138C 'mq29':21A 'name':54B 'note':109C,120C 'overflow':10A,47B,63B,71B,90C,97C 'overflow/heap':7A 'packag':33B 'part':115C 'potenti':76B 'product':119C 'pyminizip':1A,27A,30A,34B,36B,121C 'python':35B 'result':92C 'run':77B 'smihica':29A 'suppli':80B 'support':114C 'version':133C 'via':101C 'vulner':11A,14A,126C 'zipopennewfileinzip4':49B,99C 'zlib':4A,28A,41B,84C,118C,132C","nicknames":[],"mitigations":[],"who_affected":"Any application that uses pyminizip `0.2.6` or older to create zip archives, especially where file names, comments, or extra fields come from untrusted input. Code that does not use pyminizip, or only processes archives it created itself from trusted data, is much less exposed. The sources do not say which zlib versions beyond 1.3 are affected.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":["pyminizip","smihicapyminizip","zlib"],"ptokens":["pyminizip","smihica","zlib"],"labels":["critical","cwe190","package","pyminizip","pypi","python","vendor"],"campaign_type":null,"search_a":"'-2023':17A,25A '-45853':18A,26A 'affect':2A 'base':8A 'buffer':9A 'cjwr':23A 'cve':16A,24A 'depend':15A 'due':12A 'ghsa':20A 'ghsa-mq29-j5xf-cjwr':19A 'integ':6A 'j5xf':22A 'mq29':21A 'overflow':10A 'overflow/heap':7A 'pyminizip':1A,27A,30A 'smihica':29A 'vulner':11A,14A 'zlib':4A,28A","search_b":"'-190':32B '1.2.11':42B '64':50B 'attack':79B 'attacker-suppli':78B 'base':69B 'buffer':70B 'bundl':37B 'code':39B,81B 'comment':55B 'crash':74B 'cwe':31B 'extra':57B 'field':58B 'file':53B 'heap':68B 'heap-bas':67B 'integ':46B 'lead':64B 'long':61B 'minizip':38B 'name':54B 'overflow':47B,63B,71B 'packag':33B 'potenti':76B 'pyminizip':34B,36B 'python':35B 'run':77B 'suppli':80B 'zipopennewfileinzip4':49B 'zlib':41B","search_c":"'0.2.6':123C '1.3':86C '64':100C 'affect':131C 'also':125C 'api':143C 'applic':137C 'base':95C 'buffer':96C 'bundl':129C 'code':139C 'comment':105C 'compress':142C 'expos':135C 'extra':107C 'field':108C 'filenam':104C 'heap':94C 'heap-bas':93C 'integ':89C 'long':103C 'minizip':82C,110C,138C 'note':109C,120C 'overflow':90C,97C 'part':115C 'product':119C 'pyminizip':121C 'result':92C 'support':114C 'version':133C 'via':101C 'vulner':126C 'zipopennewfileinzip4':99C 'zlib':84C,118C,132C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2023-10-14T02:15:09+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":0,"sources":[{"source":"ghsa","external_id":"GHSA-mq29-j5xf-cjwr","url":"https://github.com/advisories/GHSA-mq29-j5xf-cjwr","severity":"critical","published_at":"2023-10-14T03:31:16+00:00","modified_at":"2026-11-16T16:05:20+00:00","first_seen_at":"2026-11-16T16:08:25+00:00","fetched_at":"2026-11-16T16:17:15+00:00","note":null},{"source":"nvd","external_id":"CVE-2023-45853","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45853","severity":null,"published_at":"2023-10-14T02:15:09+00:00","modified_at":"2026-10-15T00:16:39+00:00","first_seen_at":"2026-11-16T16:38:06+00:00","fetched_at":"2026-11-16T16:38:06+00:00","note":null}],"documents":[{"id":171332,"url":"https://chromium.googlesource.com/chromium/src/+/d709fb23806858847131027da95ef4c548813356","title":"Patch: chromium.googlesource.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: chromium.googlesource.com"},{"id":171333,"url":"https://chromium.googlesource.com/chromium/src/+/de29dd6c7151d3cd37cb4cf0036800ddfb1d8b61","title":"Patch: chromium.googlesource.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: chromium.googlesource.com"},{"id":171334,"url":"https://github.com/madler/zlib/pull/843","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":171335,"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00026.html","title":"Third-party advisory: lists.debian.org","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: lists.debian.org"},{"id":171336,"url":"https://pypi.org/project/pyminizip/#history","title":"Release notes: pypi.org","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: pypi.org"},{"id":171337,"url":"https://security.gentoo.org/glsa/202401-18","title":"Third-party advisory: security.gentoo.org","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: security.gentoo.org"},{"id":171338,"url":"https://security.netapp.com/advisory/ntap-20231130-0009/","title":"Third-party advisory: security.netapp.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: security.netapp.com"}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.03448,"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-45853"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}