Heap-based buffer overflow in Zlib - CVE-2026-85091

 

Heap-based buffer overflow in Zlib - CVE-2026-85091

Published: December 1, 2026


Vulnerability identifier: #VU171580
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85091
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to corrupt the memory of an application that uses zlib for non-blocking gzip writes.

The vulnerability exists due to a heap-based buffer overflow in gz_vacate() when handling non-blocking gzwrite() operations with stale buffer pointers. A local user can trigger a write past the internal input buffer to corrupt application memory or cause the application to crash.


Affected software

Zlib
Debian Linux
zlib (Debian package)

How to mitigate CVE-2026-85091

Install security update from vendor's website.

Zlib - update to 1.4
zlib (Debian package) - update to 1:1.3.dfsg+really1.3.1-1+deb13u1

External References

Related Security Bulletins