Skip to content
COOEY

FAIL › dossier

zlib

VENDOR

· dossier confidence 20%

zlib is a foundational open-source compression library with a documented history of critical memory corruption vulnerabilities, including recent RCEs and integer overflows, requiring continuous vigilance from downstream users and maintainers.

PROFILE
Categoryopen-source software libraryWhat they dozlib is an open-source compression library providing data compression and decompression functions for various programming languages and platforms. Websitehttps://zlib.net ↗
SECURITY POSTURE

zlib has a long history of critical vulnerabilities, primarily involving buffer overflows, integer overflows, and heap-based buffer over-reads in its compression routines, indicating systemic issues in input validation and memory management.

Notable failures
  • CVE-2026-27820 critical RCE via buffer overflow in Ruby's zlib
  • CVE-2023-45853 critical integer overflow in MiniZip within zlib
  • CVE-2022-37434 critical heap-based buffer over-read in zlib 1.2.12
Patterns: repeated critical buffer overflow and integer overflow vulnerabilities in compression routines; heap-based buffer over-reads and over-writes in inflate/inffast modules; lack of robust input validation leading to memory corruption
FAILURE HISTORY · 7
DATEEVENTSEVSUMMARY
2026-04-16 CVE-2026-27820 critical A buffer overflow in Ruby's zlib library (CVE-2026-27820) allows memory corruption when processing compressed data.
2023-10-14 CVE-2023-45853 critical CVE-2023-45853: MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buf
2023-10-14 CVE-2023-45853 critical CVE-2023-45853: MiniZip in zlib through 1.3 has an integer overflow and resultant heap-based buf
2022-08-05 CVE-2022-37434 critical CVE-2022-37434: zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in infl
2022-08-05 CVE-2022-37434 critical CVE-2022-37434: zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in infl
2017-05-23 CVE-2016-9841 critical CVE-2016-9841: inffast.c in zlib 1.2.8 might allow context-dependent attackers to have unspecif
2017-05-23 CVE-2016-9841 critical CVE-2016-9841: inffast.c in zlib 1.2.8 might allow context-dependent attackers to have unspecif
Open questions: exact founding date of zlib · current maintainership structure
DOSSIER · dex-RAG synthesis · grounded in our own collection + trusted sourcesbuilt 2026-11-07 05:35:26.035478+00:00