CVE-2026-22184CWE-120CWE-787

CVE-2026-22184

High · published January 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
34.4
In the wild
Unconfirmed
What it is

⚠️ Just a command away from chaos! If you use zlib's untgz utility, an excessively long archive name can lead to a global buffer overflow. Yikes! Think of this like a restaurant running out of room on a reservation list. If a guest tries to book a table with a ridiculously long name, it could mess up the entire system! An attacker could exploit this vulnerability to cause unexpected behavior in the untgz utility. While it’s limited to just the standalone demonstration utility, that still means pesky disruptions could occur, potentially leading to denial of service or data corruption.

Put simply

Think of this like a restaurant running out of room on a reservation list. If a guest tries to book a table with a ridiculously long name, it could mess up the entire system! The vulnerability in zlib versions up to 1.3.1.2 stems from an out-of-bounds write in a fixed-size global buffer, triggered when users run the untgz command with an overly long archive name.

What to do

An attacker could exploit this vulnerability to cause unexpected behavior in the untgz utility. While it’s limited to just the standalone demonstration utility, that still means pesky disruptions could occur, potentially leading to denial of service or data corruption. Upgrade to zlib version 1.3.1.3 or later to patch this vulnerability. Additionally, avoid using the untgz utility with overly long input to minimize risk. It’s worth taking a moment to audit any systems that may be affected! This is manageable! Just follow these steps and you’ll keep your systems safe! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00413 · 34.4th percentile
Weaknesses
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'); CWE-787 · Out-of-bounds Write
Published
2026-01-08T02:16Z
Affected products (1)
ProductVersionsFixed in
zlib/zlib≤ 1.3.1.2—
References (9)
EPSS history
Timeline
  • 07 JAN 20:25Z
    zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()
    cvelistv5