9.3
/ 10
CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
AI Analysis
Global buffer overflow in the untgz utility of zlib, allowing for potential code execution and denial of service
Basic Information
ID
CVE-2026-22184
Source
VulnCheck
Published
Jan 7, 2026 at 20:25
Modified
Jan 7, 2026 at 21:18
Affected Product
Vendor
zlib software
Product
zlib
Affected Versions
zlib software zlib 0
CWE Classification
AI Assessment
AI Score
9.3 / 10
AI Severity
Critical
Vendor
Jean-loup Gailly and Mark Adler
Product
zlib
Version
1.3.1.2 and earlier