CVE-2026-22184

zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()

HIGH
7.8
CVSS Score
Published: January 7, 2026 at 08:25 PM UTC
Updated: September 1, 2026 at 01:18 PM UTC
4 products affected across 3 vendorsZlibEnterprise LinuxLogging Subsystem for Red Hat OpenShift

Using zlib by zlib software?

Get instant alerts when new vulnerabilities affect zlib - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

zlib versions up to and including 1.3.1.2 contain a global buffer overflow in the untgz utility. The TGZfname() function copies an attacker-supplied archive name from argv[] into a fixed-size 1024-byte static global buffer using an unbounded strcpy() call without length validation. Supplying an archive name longer than 1024 bytes results in an out-of-bounds write that can lead to memory corruption, denial of service, and potentially code execution depending on compiler, build flags, architecture, and memory layout. The overflow occurs prior to any archive parsing or validation.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 1.3.1.2
Vendor states this is fixed in 10 (unaffected)
Vendor states this is fixed in 6 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 8 (unaffected)
Vendor states this is fixed in 9 (unaffected)
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (9)

Technical DescriptionExploitMailing ListThird Party Advisory
Source: cverecord
https://seclists.org/fulldisclosure/2026/Jan/3
Product
Source: cverecord
https://zlib.net/
Product
Source: cverecord
https://github.com/madler/zlib
Issue Tracking
Source: af854a3a-2127-422b-91ae-364da2661108
https://github.com/madler/zlib/issues/1142
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-22184
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2427688

SSVC — Action Prioritization

SSVCPoCAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card