Buffer overflow in Zlib

CVE-2026-22184

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.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (30.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-22184?
CVE-2026-22184 is a high-severity vulnerability in Zlib, classified under Out-of-bounds Write. CVSS score: 7.8/10. Published 2026-01-07.
How severe is CVE-2026-22184?
High severity. CVSS v3 base score is 7.8 out of 10.