CVE-2026-22184
zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
- State
- Published
- Severity
- 4.6 Medium
- Published
- Jan 7, 2026
- Updated
- Sep 1, 2026
- Reserved
- Jan 6, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.6 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 8.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
zlibzlib software |
|
References
- https://seclists.org/fulldisclosure/2026/Jan/3technical-descriptionexploit
- https://zlib.net/product
- https://github.com/madler/zlibproduct
- https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfnamethird-party-advisory
- https://github.com/madler/zlib/issues/1142
- https://access.redhat.com/security/cve/CVE-2026-22184vdb-entry
- RHBZ#2427688issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22184.json
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.