Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-releaseendpoint-software-vulnerability

Critical Buffer Overflow Vulnerability in zlib untgz Utility

Vulnerability Disclosure · 2 sources · Updated 5mo ago · First seen Jan 12, 2026

Critical Buffer Overflow Vulnerability in zlib untgz Utility

A critical global buffer overflow vulnerability has been identified in the zlib untgz utility, specifically affecting version 1.3.1.2. The flaw resides in the TGZfname() function, where an unbounded strcpy() operation copies user-supplied archive names from command-line arguments into a fixed-size global buffer of 1,024 bytes without proper length validation. Security researchers demonstrated that supplying an archive name exceeding this limit can trigger an out-of-bounds write, leading to memory corruption, denial-of-service, or potentially arbitrary code execution, depending on system configuration and compiler settings.

The vulnerability, tracked as CVE-2026-22184 with a CVSS score of 9.3, is trivially exploitable via command-line input and does not require any archive parsing or validation to trigger. Successful exploitation was confirmed using AddressSanitizer, which detected a global buffer overflow when the utility was invoked with a 4,096-byte filename. The issue is classified under CWE-120 (Buffer Copy without Checking Size of Input) and poses significant risk to systems utilizing the affected version of the untgz utility for archive extraction or processing.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Jan 12, 2026
  1. Jan 12, 202610mo ago

    Critical zlib flaw CVE-2026-22184 is publicly disclosed

    A critical vulnerability in zlib, tracked as CVE-2026-22184, was publicly reported as a global buffer overflow issue. Reporting described the flaw as exploitable via invocation of untgz and assigned it a CVSS score of 9.3.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.