Global Buffer Overflow in zlib's untgz Utility

4.6MEDIUM

CVE-2026-22184

Key Information:

Vendor

Zlib Software

Status
Zlib
CVE ID
CVE ID:
CVE-2026-22184
Vendor
CVE Published:
7 January 2026

Timeline

Exploit known the day it was published

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ“ˆ Score: 367πŸ‘Ύ Exploit Exists🟑 Public PoC

How risky is it?

  • No: Needs local access
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Look for signs of compromise

Exploit code is public, so check logs on exposed Zlib systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

3Why it's rated "Check today"
  • Exploit code is public, so attacks are easy to copy.
  • Its CVSS severity is medium (4.6).

What is CVE-2026-22184?

CVE-2026-22184 is a vulnerability in the zlib software, specifically in the untgz utility located under contrib/untgz. It allows for a global buffer overflow when a user executes the untgz command with an excessively long archive name provided via the command line. This flaw leads to an out-of-bounds write in a fixed-size global buffer, potentially allowing an attacker to manipulate memory.

Affected versions include zlib up to and including 1.3.1.2. The vulnerability is limited to the standalone demonstration utility and does not impact the core zlib compression library.

Potential Impact of CVE-2026-22184

  1. Memory manipulation: An attacker can exploit this vulnerability to overwrite memory, which may lead to arbitrary code execution or crashes of the untgz utility.

Affected Version(s)

zlib 0 <= 1.3.1.2

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
4.6
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Credit

Ron Edgerson
.