CVE-2026-85091: Zlib
High severity, CVSS 7.4. EPSS: 0.6% probability of exploitation activity in the next 30 days.
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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.3.1.2"; check the vendor's advisory for the release that fixes it.
Affected products
Affected packages
- libz-sys (crates.io)
Published 2026-09-03. Last modified 2026-11-13.