{"id":"DHI-r4n4-5twv-6se6-boum","summary":"zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns…","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.","modified":"2026-11-21T00:30:25.654082380Z","published":"2026-11-19T21:15:57Z","upstream":["CVE-2026-85091"],"database_specific":{"coverage_exclusions":["legacy_package_image_owner"],"coverage":"partial"},"references":[{"type":"ADVISORY","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":"FIX","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":"WEB","url":"https://github.com/madler/zlib/issues/1310"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-85091"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-85091"}],"affected":[{"package":{"name":"zlib","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/zlib"},"versions":["1.3.1-r2","1.3.2-r0","1.3.2-r1","1.3.2-r2","1.4-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json"}},{"package":{"name":"zlib","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/zlib"},"versions":["1.3.2-r0","1.3.2-r1","1.3.2-r2","1.4-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json"}},{"package":{"name":"teleport-18-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json"}},{"package":{"name":"teleport-18-fips-dev","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips-dev"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json","owner_kind":"HSP"}},{"package":{"name":"teleport-18-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18-fips"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json","owner_kind":"HSP"}},{"package":{"name":"teleport-18","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/teleport-18"},"versions":["18.11.1-10","18.11.1-11","18.11.1-12","18.11.1-13","18.11.1-14","18.11.1-15","18.11.1-16","18.11.1-17","18.11.1-18","18.11.1-2","18.11.1-3","18.11.1-4","18.11.1-5","18.11.1-6","18.11.1-7","18.11.1-8","18.11.1-9","18.11.10-0","18.11.10-1","18.11.10-2","18.11.10-3","18.11.10-4","18.11.10-5"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json","owner_kind":"HSP"}},{"package":{"name":"vector","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/vector"},"versions":["0.58.0-0","0.59.0-0","0.60.0-0","0.61.0-0","0.62.0-0","0.62.0-1"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json"}},{"package":{"name":"zlib","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/zlib"},"versions":["1:1.3.dfsg+really1.3.1-1+deb13u1+dhi0","1:1.3.dfsg+really1.3.1-1+dhi2","1:1.3.dfsg+really1.3.1-1+dhi3","1:1.3.dfsg+really1.3.1-1+dhi4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4n4-5twv-6se6-boum.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}