CVE-2026-22184

MEDIUM CVSS 4.0: 4.6 EPSS 0.41%
Updated Sep 01, 2026
Zlib
Parameter Value
CVSS 4.6 (MEDIUM)
Affected Versions before 1.3.1.2
Type CWE-787 (Out-of-bounds Write), CWE-120 (Buffer Copy without Checking Size)
Vendor Zlib
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Zlib Zlib
cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:*
— <= 1.3.1.2