WS-2026-0183
Published:November 05, 2026
Updated:November 09, 2026
In zlib (inflate.c) 1.2.3.5 through 1.3.2, calling inflateSync() with windowBits 0 before a zlib/gzip header has been read leaves the window size at zero, so inflate allocates a one-byte window. If the stream is then reused with inflateReset2() and a crafted header sets a real window size, updatewindow() copies up to 32 KB of decompressed data into that one-byte buffer, causing a heap overflow. Fixed in zlib 1.4.
Affected Packages
https://github.com/madler/zlib.git (GITHUB):
Affected version(s) >=v1.2.3.5 <v1.4Fix Suggestion:
Update to version v1.4Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write