CVE-2023-45853
Reported by mitre · Published October 14, 2023
pyminizip is fixed in 0.2.6 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pyminizip | PyPI | 0.2.6 |
| zlib-static | Amazon Linux | 1.2.11-33.amzn2023.0.5 |
| zlib-devel | Amazon Linux | 1.2.11-33.amzn2023.0.5 |
| minizip-compat-devel | Amazon Linux | 1.2.11-33.amzn2023.0.5 |
| minizip | Alpine | 1.3-r1, 1.2.13-r1 |
| qt6-qtwebengine | Alpine | 6.6.0-r1 |
| minizip-compat | Amazon Linux | 1.2.11-33.amzn2023.0.5 |
| minizip | Arch Linux | 1:1.3.1-1 |
| qt5-qtwebengine | Alpine | 5.15.15-r4, 5.15.13-r9 |
| zlib | Wolfi | 1.3-r1 |
| zlib | Amazon Linux | 1.2.11-33.amzn2023.0.5 |
| minizip-devel | Amazon Linux | 1.2.7-19.amzn2.0.3 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | pyminizip | 0 |
| amazon:2023 | zlib-static | 0 |
| amazon:2023 | zlib-devel | 0 |
| amazon:2023 | minizip-compat-devel | 0 |
| alpine | minizip | 0, 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| alpine | qt6-qtwebengine | 0 |
| alpine | zlib | * |
| amazon:2023 | minizip-compat | 0 |
| arch | minizip | 0 |
| alpine | qt5-qtwebengine | 0, 0 |
| wolfi | zlib | 0 |
| amazon:2023 | zlib | 0 |
| amazon:2 | minizip-devel | 0 |
| n/a | n/a | * |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | zlib-static | 0 |
| amazon:2 | minizip | 0 |
| zlib | zlib | 0 |
…and 6 more
Timeline
- Oct 14, 2023 CVE Published
- Oct 14, 2023 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Mar 9, 2026 Security Advisory (9 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-45853
vulnetix vdb fixes CVE-2023-45853
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-45853/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20231020 CVE-2023-45853: overflows in MiniZip in zlib through 1.3 mailing-list
- [debian-lts-announce] 20231127 [SECURITY] [DLA 3670-1] minizip security update mailing-list
- GLSA-202401-18 vendor-advisory
- [oss-security] 20240124 Re: CVE-2023-45853: overflows in MiniZip in zlib through 1.3 mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html url
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html url
- https://github.com/madler/zlib/commit/73331a6a0481067628f065ffe87bb1d8f787d10c patch
- https://github.com/smihica/pyminizip/blob/master/zlib-1.2.11/contrib/minizip/zip.c url
- https://github.com/advisories/GHSA-mq29-j5xf-cjwr advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-45853 advisory