Home

Description

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.

PUBLISHED Reserved 2026-01-06 | Published 2026-01-07 | Updated 2026-01-15 | Assigner VulnCheck




MEDIUM: 4.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N

Problem types

CWE-787 Out-of-bounds Write

Product status

Default status
unaffected

Any version
affected

Credits

Ron Edgerson finder

References

github.com/madler/zlib/issues/1142

seclists.org/fulldisclosure/2026/Jan/3 technical-description exploit

zlib.net/ product

github.com/madler/zlib product

www.vulncheck.com/...ntgz-global-buffer-overflow-in-tgzfname third-party-advisory

cve.org (CVE-2026-22184)

nvd.nist.gov (CVE-2026-22184)

Download JSON