CVE-2026-22184: CWE-787 Out-of-bounds Write in zlib software zlib
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.
AI Analysis
Technical Summary
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.
CVE-2026-22184: CWE-787 Out-of-bounds Write in zlib software 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
Affected software
zlib software
zlib
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.