{"id":"DHI-r4n4-5twv-6se6-boum","aliases":[],"title":"zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns…","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"zlib","range":">=0, <1.3.2-r1","fixed":"1.3.2-r1"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"zlib","range":">=0, <1.3.2-r1","fixed":"1.3.2-r1"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"zlib","range":">=0, <1:1.3.dfsg+really1.3.1-1+deb13u0+dhi4","fixed":"1:1.3.dfsg+really1.3.1-1+deb13u0+dhi4"}],"references":[{"url":"https://scout.docker.com/v/DHI-r4n4-5twv-6se6-boum","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85091","type":"advisory"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-85091","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-85091","type":"advisory"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0544","type":"advisory"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0544.html","type":"advisory"},{"url":"https://github.com/rust-lang/libz-sys/commit/b161d77050c00c6eeb7dd4b66ea14d4524d73dc4","type":"fix"},{"url":"https://github.com/rust-lang/libz-sys/commit/8827cadbe2b560233909212527c291827fb34512","type":"fix"},{"url":"https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148","type":"fix"},{"url":"https://github.com/madler/zlib/issues/1310","type":"web"},{"url":"https://ubuntu.com/security/CVE-2026-85091","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-85091","type":"advisory"}],"sources":[{"name":"osv","at":"2026-12-01T19:20:00.246Z","url":"https://osv.dev/vulnerability/DHI-r4n4-5twv-6se6-boum","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T16:58:44.550Z"}],"firstSeenAt":"2026-11-20T16:58:44.550Z","publishedAt":"2026-11-19T21:15:57.000Z","modifiedAt":"2026-12-01T18:45:41.152Z"}