CCSI
← CVE Security Watch

November 7, 2026 at 8:55 AM EST

zlib gzwrite heap buffer overflows (CVE-2026-76844, CVE-2026-85091) fixed in zlib 1.4

high

Two high-severity heap buffer overflows in zlib's gz* write functions are fixed in upstream zlib 1.4 and in Debian trixie (DSA-6613-1). Neither is on CISA KEV.

zlib: gz_write() / gz_vacate() heap buffer overflows

  • What: CVE-2026-76844 affects zlib 1.2.11 through 1.3.2: after an underlying write() fails, gz_write() returns without resetting strm.next_in, so a later gz* write call can write past a heap allocation. CVE-2026-85091 affects zlib 1.3.1.2 through 1.3.2: calling gzprintf() or gzvprintf() after a non-blocking write stall can make gz_vacate() write beyond the internal input buffer. Only applications that use zlib's gz* file-writing API are exposed.
  • Severity: CVSS 4.0 8.3 High for both (VulnCheck, via NVD). Attack complexity is high.
  • Exploited: Not on the CISA KEV catalog as of catalog 2026.11.06.
  • Fixed in: Upstream zlib 1.4 (released 4 Nov 2026). Debian 13 trixie 1:1.3.dfsg+really1.3.1-1+deb13u1 via DSA-6613-1 (7 Nov 2026), which also fixes CVE-2026-27171. Debian 12 bookworm is still listed as vulnerable on the Debian security tracker.
  • What to do: Apply your distribution's zlib update and restart long-running services that link it. Rebuild container images and statically linked binaries that vendor zlib. On end-of-life distributions with no update, rely on vendor or extended-support builds, or migrate.

General information only. Confirm fixed versions in the linked official advisories before patching.