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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | klibc | All versions, no fix listed |
| Ubuntu:Pro:14.04:LTS | zlib | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | klibc | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | rsync | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | klibc | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | rsync | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | klibc | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | rsync | All versions, no fix listed |
| Ubuntu:24.04:LTS | zlib | All versions before 1:1.3.dfsg-3.1ubuntu2.3 (fixed in 1:1.3.dfsg-3.1ubuntu2.3) |
| Ubuntu:26.10 | klibc | All versions, no fix listed |
| Ubuntu:26.10 | zlib | 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.10 | zsync | All versions, no fix listed |
| Ubuntu:26.04:LTS | zlib | All versions before 1:1.3.dfsg+really1.3.1-1ubuntu3.2 (fixed in 1:1.3.dfsg+really1.3.1-1ubuntu3.2) |
References
- https://ubuntu.com/security/CVE-2026-85091
- https://www.cve.org/CVERecord?id=CVE-2026-85091
- https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490
- https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate
- https://ubuntu.com/security/notices/USN-8954-1