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
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | zlib | >=0, <1.3.2-r1 | 1.3.2-r1 |
| Docker Hardened Images:Alpine:3.24 | zlib | >=0, <1.3.2-r1 | 1.3.2-r1 |
| Docker Hardened Images:Debian:13 | zlib | >=0, <1:1.3.dfsg+really1.3.1-1+deb13u0+dhi4 | 1:1.3.dfsg+really1.3.1-1+deb13u0+dhi4 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-r4n4-5twv-6se6-boum advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-85091 advisory
- https://security.alpinelinux.org/vuln/CVE-2026-85091 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-85091 advisory
- https://rustsec.org/advisories/RUSTSEC-2026-0544 advisory
- https://rustsec.org/advisories/RUSTSEC-2026-0544.html advisory
- https://github.com/rust-lang/libz-sys/commit/b161d77050c00c6eeb7dd4b66ea14d4524d73dc4 fix
- https://github.com/rust-lang/libz-sys/commit/8827cadbe2b560233909212527c291827fb34512 fix
- https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148 fix
- https://github.com/madler/zlib/issues/1310 web
- https://ubuntu.com/security/CVE-2026-85091 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-85091 advisory