CVE-2026-22184 MEDIUM

CVE-2026-22184: zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()

Vendor Zlib Software
Product zlib
Weakness CWE-787
Published January 7, 2026
Last update June 30, 2026

CVSS base score

4.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 7, 2026 CVE published
June 30, 2026 Record updated