Vulnerability · Published Jan 7, 2026 · Assigned by VulnCheck
CVE-2026-22184zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
High 8.6
In plain English
A high-severity out-of-bounds write in zlib from zlib software. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | zlib | 1.3.2-r0 | ALPINE-CVE-2026-22184 |
| Alpine:v3.21 | zlib | 1.3.2-r0 | ALPINE-CVE-2026-22184 |
| Alpine:v3.22 | zlib | 1.3.2-r0 | ALPINE-CVE-2026-22184 |
| Alpine:v3.23 | zlib | 1.3.2-r0 | ALPINE-CVE-2026-22184 |
| Alpine:v3.24 | zlib | 1.3.2-r0 | ALPINE-CVE-2026-22184 |
| Debian:12 | zlib | 1:1.2.6.dfsg-1 | DEBIAN-CVE-2026-22184 |
| Debian:13 | zlib | 1:1.2.6.dfsg-1 | DEBIAN-CVE-2026-22184 |
| Debian:14 | zlib | 1:1.2.6.dfsg-1 | DEBIAN-CVE-2026-22184 |
| Ubuntu:22.04:LTS | zsync | no fix listed | UBUNTU-CVE-2026-22184 |
| Ubuntu:24.04:LTS | zsync | no fix listed | UBUNTU-CVE-2026-22184 |
| Ubuntu:25.10 | zsync | no fix listed | UBUNTU-CVE-2026-22184 |
| Ubuntu:26.04:LTS | zsync | no fix listed | UBUNTU-CVE-2026-22184 |
| Ubuntu:26.10 | zsync | no fix listed | UBUNTU-CVE-2026-22184 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| zlib software | zlib | 0 – through 1.3.1.2 |
Weakness: CWE-787, CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://seclists.org/fulldisclosure/2026/Jan/3 technical-description, exploit
- https://zlib.net/ product
- https://github.com/madler/zlib product
- https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname third-party-advisory
- https://github.com/madler/zlib/issues/1142
- https://access.redhat.com/security/cve/CVE-2026-22184 vdb-entry, x_refsource_REDHAT
- RHBZ#2427688 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22184.json x_sadp-csaf-vex
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html