CVE-2026-22184

Severity CVSS v4.0:
MEDIUM
Type:
CWE-787 Out-of-bounds Write
Publication date:
07/01/2026
Last modified:
15/01/2026

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* 1.3.1.2 (including)