Out-of-bounds write in Zlib - #VU171596
Published: December 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt memory in an application that uses zlib's iostream2 component to read compressed strings.
The vulnerability exists due to an out-of-bounds write in contrib/iostream2 when reading a compressed string without checking its declared length against the destination buffer size. A remote attacker can supply a crafted compressed file to cause a write beyond the destination buffer and corrupt application memory.