WS-2026-0184
Published:November 05, 2026
Updated:November 09, 2026
inflateGetDictionary() in zlib (inflate.c) 1.2.7.1 through 1.3.2 can write up to 8 MB past the caller's 32 KB dictionary buffer. With windowBits 0, inflate() takes the window size from the zlib header and stores an invalid size of up to 2^23 before rejecting it, and inflateReset()/inflateSync() keep it (versions before 1.2.9 accept the oversized size outright); the window then grows past 32 KB and inflateGetDictionary() copies all of it into a buffer the API documents as 32 KB, a heap overflow driven by crafted compressed input. Fixed in zlib 1.4.
Affected Packages
https://github.com/madler/zlib.git (GITHUB):
Affected version(s) >=v1.2.7.1 <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