Vulnerabilities · 2026 · Zlib
CVE-2026-22184
Zlib vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Zlib. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Zlib runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- seclists.org/fulldisclosure/2026/Jan/3 · Third Party Advisory
- www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname · Third Party Advisory
- github.com/madler/zlib
- zlib.net/
- github.com/madler/zlib/issues/1142
- access.redhat.com/security/cve/CVE-2026-22184
- bugzilla.redhat.com/show_bug.cgi?id=2427688
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22184.json
- nvd.nist.gov/vuln/detail/CVE-2026-22184
- cve.org/CVERecord?id=CVE-2026-22184
More vulnerabilities in Zlib products
CVE-2023-45853CVE-2022-37434CVE-2018-25032CVE-2016-9843CVE-2016-9842CVE-2016-9841CVE-2016-9840CVE-2015-1191All 15
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.