Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| zlib software / zlib | affected 0 through 1.3.1.2 |
CWE
CWE-787
References
- https://seclists.org/fulldisclosure/2026/Jan/3
- https://zlib.net/
- https://github.com/madler/zlib
- https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
A flaw was found in zlib. A global buffer overflow vulnerability exists in the `untgz` utility, specifically within the `TGZfname()` function. This flaw allows an attacker to provide an archive name longer than 1024 bytes, leading to an out-of-bounds write. This can result in memory corruption, denial of service, and potentially arbitrary code execution on the affected system.
No English description supplied.