zlib untgz Global Buffer Overflow pre1.3.1.2
CVE-2026-22184 Published on January 7, 2026

zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
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.

NVD

Vulnerability Analysis

CVE-2026-22184 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
LOW
Availability Impact:
HIGH

Weakness Types

What is a Memory Corruption Vulnerability?

The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.

CVE-2026-22184 has been classified to as a Memory Corruption vulnerability or weakness.

What is a Classic Buffer Overflow Vulnerability?

The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. A buffer overflow condition exists when a program attempts to put more data in a buffer than it can hold, or when a program attempts to put data in a memory area outside of the boundaries of a buffer. The simplest type of error, and the most common cause of buffer overflows, is the "classic" case in which the program copies the buffer without restricting how much is copied. Other variants exist, but the existence of a classic overflow strongly suggests that the programmer is not considering even the most basic of security protections.

CVE-2026-22184 has been classified to as a Classic Buffer Overflow vulnerability or weakness.


Products Associated with CVE-2026-22184

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-22184 are published in these products:

 
 
 
 
 
 
 
 
 

Affected Versions

zlib software zlib: Logging Subsystem for Red Hat OpenShift: Red Hat Enterprise Linux 10: Red Hat Enterprise Linux 8: Red Hat Enterprise Linux 9: 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: Red Hat Enterprise Linux 6: Red Hat Enterprise Linux 7: Red Hat JBoss Core Services: Red Hat OpenShift Container Platform 4: Red Hat OpenStack Platform 16.2: Red Hat OpenStack Platform 17.1:

Exploit Probability

EPSS
0.21%
Percentile
11.18%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.