zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
cve-program · CVE-2026-22184
Publishedzlib 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-22184 · CVE overview and exploitation status
cve-program · CVE-2026-22184
Related changes
Linked by CVE identifierNo related changes are available here.