ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2026-85091

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSklibc
All versions, no fix listed
Ubuntu:Pro:14.04:LTSzlib
All versions, no fix listed
Ubuntu:Pro:16.04:LTSklibc
All versions, no fix listed
Ubuntu:Pro:16.04:LTSrsync
All versions, no fix listed
Ubuntu:Pro:18.04:LTSklibc
All versions, no fix listed
Ubuntu:Pro:18.04:LTSrsync
All versions, no fix listed
Ubuntu:Pro:20.04:LTSklibc
All versions, no fix listed
Ubuntu:Pro:20.04:LTSrsync
All versions, no fix listed
Ubuntu:24.04:LTSzlib
All versions before 1:1.3.dfsg-3.1ubuntu2.3 (fixed in 1:1.3.dfsg-3.1ubuntu2.3)
Ubuntu:26.10klibc
All versions, no fix listed
Ubuntu:26.10zlib
All versions before 1:1.3.dfsg+really1.3.2-3ubuntu1.1 (fixed in 1:1.3.dfsg+really1.3.2-3ubuntu1.1)
Ubuntu:26.10zsync
All versions, no fix listed
Ubuntu:26.04:LTSzlib
All versions before 1:1.3.dfsg+really1.3.1-1ubuntu3.2 (fixed in 1:1.3.dfsg+really1.3.1-1ubuntu3.2)

References