← VULNERABILITIES

DHI-r4n4-5twv-6se6-boum

zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns…

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
14d old
Modified
2026-12-01
Product
Docker Hardened Images:Alpine:3.23 zlib

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.

Fixed in

1.3.2-r1 · 1:1.3.dfsg+really1.3.1-1+deb13u0+dhi4

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23zlib>=0, <1.3.2-r11.3.2-r1
Docker Hardened Images:Alpine:3.24zlib>=0, <1.3.2-r11.3.2-r1
Docker Hardened Images:Debian:13zlib>=0, <1:1.3.dfsg+really1.3.1-1+deb13u0+dhi41:1.3.dfsg+really1.3.1-1+deb13u0+dhi4

Sources

  • OSV · first seen 13d ago · CC-BY 4.0

References

JSON