{"id":"CVE-2026-22184","published":"2026-01-07T20:25:19Z","modified":"2026-09-01T12:04:44Z","title":"zlib <= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()","vendor":"zlib software","product":"zlib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00532,"percentile":0.38366,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://seclists.org/fulldisclosure/2026/Jan/3","tags":["technical-description","exploit"]},{"url":"https://zlib.net/","tags":["product"]},{"url":"https://github.com/madler/zlib","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/zlib-untgz-global-buffer-overflow-in-tgzfname","tags":["third-party-advisory"]},{"url":"https://github.com/madler/zlib/issues/1142","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-22184","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2427688","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-22184.json","tags":["x_sadp-csaf-vex"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-470355.html","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":7.67},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"zlib-software","affectedVersions":[{"vendor":"zlib software","product":"zlib","versions":["<= 1.3.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-07T21:17:54.918396Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-1173","exploited":false,"provenance":"source"},"exploitRefs":["https://seclists.org/fulldisclosure/2026/Jan/3"]}