zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz. The vulnerability is limited to the standalone demonstration utility and does not affect the core zlib compression library. The flaw occurs when a user executes the untgz command with an excessively long archive name supplied via the command line, leading to an out-of-bounds write in a fixed-size global buffer.
References
| Link | Resource |
|---|---|
| https://github.com/madler/zlib | Product |
| https://seclists.org/fulldisclosure/2026/Jan/3 | Mailing List Third Party Advisory |
| https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname | Third Party Advisory |
| https://zlib.net/ | Product |
| https://github.com/madler/zlib/issues/1142 | Issue Tracking |
Configurations
History
15 Jan 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | ||
| Summary | (en) zlib versions up to and including 1.3.1.2 include a global buffer overflow in the untgz utility located under contrib/untgz. The vulnerability is limited to the standalone demonstration utility and does not affect the core zlib compression library. The flaw occurs when a user executes the untgz command with an excessively long archive name supplied via the command line, leading to an out-of-bounds write in a fixed-size global buffer. |
14 Jan 2026, 20:24
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Zlib
Zlib zlib |
|
| CPE | cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* | |
| CWE | CWE-787 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
| References | () https://github.com/madler/zlib - Product | |
| References | () https://seclists.org/fulldisclosure/2026/Jan/3 - Mailing List, Third Party Advisory | |
| References | () https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname - Third Party Advisory | |
| References | () https://zlib.net/ - Product | |
| References | () https://github.com/madler/zlib/issues/1142 - Issue Tracking |
12 Jan 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
07 Jan 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-07 21:16
Updated : 2026-01-15 14:16
NVD link : CVE-2026-22184
Mitre link : CVE-2026-22184
CVE.ORG link : CVE-2026-22184
JSON object : View
Products Affected
zlib
- zlib
CWE
CWE-787
Out-of-bounds Write
