zlib is vulnerable to Out-of-bounds Write
74
High Risk
Affected versions of zlib contain a heap buffer overflow in gz_vacate() when a non-blocking gzwrite() stalls and leaves strm->next_in pointing at the caller's external buffer. A later gzprintf() or gzvprintf() call then runs an unbounded memmove() past the internal input buffer. An attacker who can stall the destination, for example a peer that stops reading a socket, can overwrite adjacent heap memory and crash the process. The overflow is fixed in commit df84af2, which addresses CVE-2026-85091, but no patched release has been tagged yet.
You are affected if you are using a version that falls within the vulnerable range and your application writes gzip data with gzwrite(), gzprintf(), or gzvprintf() to a non-blocking file descriptor.
zlib is vulnerable to Out-of-bounds Write in versions 1.3.1.2 - 1.3.2.
There is no patched release yet. Upgrade zlib once a version newer than 1.3.2 is published, or apply https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148. Until then, avoid calling gzprintf() or gzvprintf() after a stalled non-blocking gzwrite().
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.