home / blog

2026-11-11 · high

CVE-2026-76844: Heap overflow in zlib 1.2.11-1.3.2

Heap buffer overflow in gz_write() of zlib 1.2.11-1.3.2. CVSS 7.4. Check versions and apply patches.

CVE-2026-76844: Heap overflow in zlib 1.2.11-1.3.2

CVE-2026-76844 is a heap buffer overflow in the zlib library, affecting versions 1.2.11 through 1.3.2. The vulnerability resides in gz_write(): when a write() operation fails, the function does not reset the strm.next_in pointer, leaving it pointed at the caller's buffer. A subsequent call to gz* functions derives a position from this stale pointer and writes past the heap, impacting any application using zlib for compression.

The CVSS score is 7.4 (High). The vulnerability was officially published on 2026-08-24 on NVD. A recent GitHub signal (2026-11-10) highlights active community attention: repositories have been declared containing exploits or reproducers for this flaw. The status is confirmed and verified; the flaw requires specific conditions (write() failure followed by a gz* operation) but widely affects the application landscape given zlib's ubiquitous use.

Sysadmins and CISOs must immediately map all applications dependent on zlib in their inventory (web servers, databases, compilation toolchains). Verify the versions in use and compare them against the vulnerable range (1.2.11-1.3.2). Monitor official zlib sources and vendors for patch announcements. Plan updates on critical machines and test the stability of dependent applications after the update.

At a glance

What
Heap buffer overflow in gz_write(): after a write() fails, the function returns without resetting strm.next_in, leaving it pointed at the caller's buffer. A subsequent call to gz* functions derives a position from the stale pointer and writes past a heap allocation.
Severity
CVSS 7.4 (High)
Affected versions
zlib 1.2.11 through 1.3.2
Fix
Not reported in available official NVD data
Status
Confirmed vulnerability; recent GitHub signal (2026-11-10) indicates active community attention on exploit/reproducer
Action
Immediately map zlib inventory in critical applications; monitor official advisories for patches; plan zlib and dependent updates

Sources: NVD, CVE-2026-76844

← All articles