Heap-based buffer overflow in Zlib - CVE-2026-85091
Published: December 1, 2026
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
Debian Linux
zlib (Debian package)
How to mitigate CVE-2026-85091
zlib (Debian package) - update to 1:1.3.dfsg+really1.3.1-1+deb13u1