zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Will not fix Red Hat: no fix planned
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zlib software | zlib | up to 1.3.1.2 | — | No fix listed | CNA |
- zlib Vendorzlib software Affected up to 1.3.1.2 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Logging Subsystem for Red Hat OpenShift | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 10 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
Not affected: 14 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat JBoss Core Services
- Red Hat OpenShift Container Platform 4
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Red Hat build of OpenJDK 1.8
- Red Hat build of OpenJDK 11 ELS
- Red Hat build of OpenJDK 17
- Red Hat build of OpenJDK 21
- Red Hat build of OpenJDK 25
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22184
- 2026-10-03 Alias added: GHSA-7687-3v4j-49fr
References
More Zlib vulnerabilities
- TI-2022-17498 zlib through 1.2.12 has a heap-based buffer over-read or buffer overflow in inflate in… CVSS 3.1CRITICAL 9.8
- TI-2018-15259 zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if… CVSS 3.1HIGH 7.5
- TI-2016-07970 inffast.c in zlib 1.2.8 might allow context-dependent attackers to have unspecified… CVSS 3.1CRITICAL 9.8
- TI-2026-21613 zlib before 1.3.2 allows CPU consumption via crc32_combine64 and crc32_combine_gen64… CVSS 3.1MEDIUM 5.5
- TI-2003-00102 Buffer overflow in the gzprintf function in zlib 1.1.4, when zlib is compiled without… CVSS 2.0HIGH 7.5
- TI-2002-00055 The decompression algorithm in zlib 1.1.3 and earlier, as used in many different… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-22184 · CVE Program
- CVE-2026-22184 · NVD
- FIRST EPSS
- GHSA-7687-3v4j-49fr · GitHub Advisory Database · CC BY 4.0
- CVE-2026-22184 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences