CVE-2026-22184
CVE-2026-22184 · zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.6 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
zlib
- Versions
- ≥ 0, ≤ 1.3.1.2: Affected (custom)
No fix published
zlib Debian:12
- Affected ranges
- ECOSYSTEM: < 1:1.2.6.dfsg-1
Update to 1:1.2.6.dfsg-1
zlib Debian:13
- Affected ranges
- ECOSYSTEM: < 1:1.2.6.dfsg-1
Update to 1:1.2.6.dfsg-1
zlib Debian:14
- Affected ranges
- ECOSYSTEM: < 1:1.2.6.dfsg-1
Update to 1:1.2.6.dfsg-1
zsync Ubuntu:16.04:LTS
- Versions
- 0.6.2-1ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:18.04:LTS
- Versions
- 0.6.2-2ubuntu1
- 0.6.2-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:20.04:LTS
- Versions
- 0.6.2-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:22.04:LTS
- Versions
- 0.6.2-3ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:24.04:LTS
- Versions
- 0.6.2-5
- 0.6.2-5build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:25.10
- Versions
- 0.6.2-7ubuntu1
- 0.6.2-8
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:26.10
- Versions
- 0.6.2-9
- 0.6.3-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
zsync Ubuntu:26.04:LTS
- Versions
- 0.6.2-8
- 0.6.2-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://seclists.org/fulldisclosure/2026/Jan/3
- https://zlib.net/
- https://github.com/madler/zlib
- https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname
- https://github.com/madler/zlib/issues/1142
- https://access.redhat.com/security/cve/CVE-2026-22184
- https://bugzilla.redhat.com/show_bug.cgi?id=2427688
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22184.json
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-22184