Skip to content
OpenAdvisories
High · 7.4 Public exploit CVE-2026-76844 EUVD-2026-64850GHSA-g84c-rxfj-3j2cGHSA-p3f5-w63m-mxph

zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write

Published Aug 24, 2026 · Updated Oct 1, 2026 · Assigned by VulnCheck

Description

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* write call then derives a position from the stale pointer and writes past a heap allocation; any write() failure reaches it, including EPIPE on a blocking descriptor, and in versions before 1.3.1.2 the failed write must be followed by a gzclearerr() call.

Affected products

VendorProductAffectedFixed
zlib zlib 1.2.11 – ≤ 1.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 zlib 1:1.3.dfsg+really1.3.2-4 —
Debian 13 zlib 1:1.3.dfsg+really1.3.1-1+deb13u1 —
Debian 12 zlib No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 zlib 1.3.2-2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm webpack-dev-middleware >= 8.0.0, < 8.3.0 8.3.0 GHSA-g84c-rxfj-3j2c
npm webpack-dev-middleware < 7.4.6 7.4.6 GHSA-g84c-rxfj-3j2c

References