Out-of-bounds write in Zlib - #VU171596

 

Out-of-bounds write in Zlib - #VU171596

Published: December 1, 2026


Vulnerability identifier: #VU171596
CSH Severity: High
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Zlib

Remediation

Install security update from vendor's website.

Zlib - update to 1.4

External References

Related Security Bulletins