Zlib vulnerabilities
15 CVEs affecting Zlib, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-85091, published 2026-09-03.
More from Zlib.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2018-25032, published 2022-03-25. High severity, CVSS 7.5. EPSS: 52% probability of exploitation activity in the next 30 days. zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
- CVE-2003-0107, published 2003-03-07. High severity, CVSS 7.5. EPSS: 26% probability of exploitation activity in the next 30 days. Buffer overflow in the gzprintf function in zlib 1.1.4, when zlib is compiled without vsnprintf or when long inputs are truncated using vsnprintf, allows attackers to cause a denial of service or…
- CVE-2002-0059, published 2002-03-15. Critical severity, CVSS 9.8. EPSS: 9.7% probability of exploitation activity in the next 30 days. The decompression algorithm in zlib 1.1.3 and earlier, as used in many different utilities and packages, causes inflateEnd to release certain memory more than once (a "double free"), which may allow…
- CVE-2016-9841, published 2017-05-23. Critical severity, CVSS 9.8. EPSS: 7.6% probability of exploitation activity in the next 30 days. inffast.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.
- CVE-2016-9843, published 2017-05-23. Critical severity, CVSS 9.8. EPSS: 6.0% probability of exploitation activity in the next 30 days. The crc32_big function in crc32.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving big-endian CRC calculation.
- CVE-2005-2096, published 2005-07-06. High severity, CVSS 7.5. EPSS: 5.6% probability of exploitation activity in the next 30 days. zlib 1.2 and later versions allows remote attackers to cause a denial of service (crash) via a crafted compressed stream with an incomplete code description of a length greater than 1, which leads to…
- CVE-2016-9842, published 2017-05-23. High severity, CVSS 8.8. EPSS: 5.2% probability of exploitation activity in the next 30 days. The inflateMark function in inflate.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact via vectors involving left shifts of negative integers.
- CVE-2022-37434, published 2022-08-05. Critical severity, CVSS 9.8. EPSS: 5.2% probability of exploitation activity in the next 30 days. zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field. NOTE: only applications that call inflateGetHeader are affected.…
- CVE-2016-9840, published 2017-05-23. High severity, CVSS 8.8. EPSS: 4.9% probability of exploitation activity in the next 30 days. inftrees.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified impact by leveraging improper pointer arithmetic.
- CVE-2005-1849, published 2005-07-26. Medium severity, CVSS 5.0. EPSS: 4.1% probability of exploitation activity in the next 30 days. inftrees.h in zlib 1.2.2 allows remote attackers to cause a denial of service (application crash) via an invalid file that causes a large dynamic tree to be produced.
Latest
- CVE-2026-85091, published 2026-09-03. High severity, CVSS 7.4. EPSS: 0.6% probability of exploitation activity in the next 30 days. zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns without resetting strm.next_in, leaving it pointed at the caller's buffer. A later gz*…
- CVE-2026-27171, published 2026-02-18. Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity in the next 30 days. zlib before 1.3.2 allows CPU consumption via crc32_combine64 and crc32_combine_gen64 because x2nmodp can do right shifts within a loop that has no termination condition.
- CVE-2026-22184, published 2026-01-07. High severity, CVSS 7.8. EPSS: 0.5% probability of exploitation activity in the next 30 days. zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz. The vulnerability is limited to the standalone demonstration utility and…
- CVE-2023-45853, published 2023-10-14. Critical severity, CVSS 9.8. EPSS: 4.0% probability of exploitation activity in the next 30 days. 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…