4.6Medium

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

zlib software zlib; Red Hat Logging Subsystem for Red Hat OpenShift; Red Hat Red Hat build of OpenJDK 11 ELS; Red Hat Red Hat build of OpenJDK 17 Published: (10 months ago)

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.

Weakness (CWE): CWE-787CWE-120

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* ≤ 1.3.1.2