CVE-2026-22184
4.6
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| zlib software | zlib | 0 <= 1.3.1.2 | affected |
Weaknesses
- CWE-787: CWE-787 Out-of-bounds Write
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
CVE Program Container
Additional References
zlib: zlib: Arbitrary code execution via buffer overflow in untgz utility
Additional References
- 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
References
- 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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.