Skip to main content
EPSS 0.4%top 64%

CVE-2026-22184: CWE-787 Out-of-bounds Write in zlib software zlib

0
Medium
VulnerabilityCVE-2026-22184cvecve-2026-22184cwe-787gcvecwe-120
Published: 01/07/2026 (01/07/2026, 20:25:19 UTC)
Source: CVE Database V5
Vendor/Project: zlib software
Product: zlib

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.

CVSS v4.0

Score 4.6medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

zlib software

zlib

Affected versions
>=0 <=1.3.1.2
GitHub Actionsmore threats →ai
madler/zlib
pkg:github/madler/zlib
Affected versions
=0<=1.3.1.2
GitHub Actionsmore threats →cve
zlib
pkg:github/zlib
Affected versions
>=0 <=1.3.1.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:34:02 UTC

Technical Analysis

The vulnerability CVE-2026-22184 affects zlib software versions up to and including 1.3.1.2. It is a global buffer overflow (CWE-787) in the untgz utility located in the contrib/untgz directory. The issue arises when the untgz command is executed with an excessively long archive name provided via the command line, causing an out-of-bounds write in a fixed-size global buffer. This vulnerability is limited to the standalone demonstration utility and does not impact the core zlib compression library. There are no known exploits in the wild. The CVSS 4.0 base score is 4.6, indicating medium severity. No patch or official fix is currently referenced in the vendor advisory.

Potential Impact

The vulnerability allows a local attacker to cause an out-of-bounds write by supplying an excessively long archive name to the untgz utility. This could potentially lead to memory corruption or application instability. However, the impact is limited because the flaw affects only the untgz demonstration utility and not the core zlib compression library. There are no reports of exploitation in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects only the untgz standalone utility and not the core zlib library, users who do not use this utility are not impacted. For those using untgz, avoid processing archives with excessively long names or consider disabling use of the untgz utility until a fix is available. Monitor the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-22184 for updates on patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-01-06T16:47:17.182Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-22184","vendor":"Red Hat"}]

Threat ID: 695ec6692efadb62cf814027

Added to database: 01/07/2026, 20:47:37 UTC

Last enriched: 07/15/2026, 08:34:02 UTC

Last updated: 09/10/2026, 22:28:38 UTC

Views: 770

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses