CVE Catalog

CVE-2026-22184

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

30th percentile - higher than 30% of all known CVEs

Summary

A global buffer overflow vulnerability exists in the untgz utility (contrib/untgz) in zlib versions up to and including 1.3.1.2. The issue is limited to the standalone demonstration tool and does not affect the core zlib compression library. The flaw occurs when a user executes untgz with an excessively long archive name on the command line, causing an out-of-bounds write in a fixed-size global buffer.

Risk Assessment

The risk to the organization is limited as the vulnerability only affects the untgz helper utility, not the core zlib library. Exploitation requires user interaction (running the tool with a long filename), reducing the likelihood of remote exploitation.

Recommendation

It is recommended to upgrade zlib to a version later than 1.3.1.2 if the untgz utility is used in production. If untgz is not needed, it can be removed or access to it restricted.

Other vulnerabilities in zlib

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS