p PatchFirst

CVE-2026-76844

CVE-2026-76844 · zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.3 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: node

Affected products and versions

Original sources

Check your server →