Cloudanix VulnDB

CVE-2026-85091

High · 7.4

CVSS

7.4

EPSS

0.5%

Published

Sep 3, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in a widely used compression library can crash programs or corrupt their memory when they use a specific non-blocking write feature, so those programs should be updated.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Remote Code Execution
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Low
Patch risk
Low

What it actually does

zlib 1.3.1.2 through 1.3.2 contain a heap buffer overflow in gz_vacate() on the non-blocking gzip write path. After a write stall leaves stale external buffer pointers, gzprintf() or gzvprintf() can drive an unchecked memmove() past the internal input buffer. The result is memory corruption in the calling process, with high impact to integrity and availability of that component and no direct confidentiality impact. Exploitation requires a high-complexity set of API conditions (non-blocking gzwrite plus a subsequent formatted gzip write) rather than a generic parse of compressed bytes.

Why it matters to the business

Software that links these zlib versions and uses non-blocking gzip writes can crash or suffer heap corruption, disrupting compression-heavy services such as transfers, backups, logging, or content encoding. zlib is a foundational library, so the operational blast radius can include many downstream applications even when they are not named individually. The issue is not in CISA KEV, is not associated with ransomware campaigns, and has no public exploit maturity; EPSS is still low (about 0.006) despite a roughly 34% rise over 30 days. Treat it as a standard but prompt patch item, with higher priority wherever zlib sits on a network-facing or untrusted-input compression path.

How an attack unfolds

Abuse depends on an application already calling the vulnerable non-blocking gzip write APIs, not on a standalone zlib decoder bug. An attacker who can influence that process’s write path would need to create a write stall so external buffer pointers go stale, then cause gzprintf() or gzvprintf() to run so gz_vacate() performs an out-of-bounds memmove. Outcomes range from process crash (denial of service) to heap corruption that might be leveraged only if the surrounding allocator and application logic allow it. Attack complexity is high, no privileges or user interaction are required at the library layer, exploit maturity is none, and no named threat actors or KEV campaigns are tied to this issue.

How to fix it

Upgrade zlib off the 1.3.1.2–1.3.2 range as soon as a vendor or upstream fixed build is available, then rebuild and redeploy any statically linked binaries. Where a patch is not yet published, stop combining non-blocking gzwrite() with gzprintf()/gzvprintf(); use blocking writes or safer formatting/write patterns, and prefer OS or language-runtime zlib packages over vendored copies. Inventory direct and transitive dependents, containers, and appliances that ship their own libz, and apply the corresponding vendor updates when they land.

How to confirm the fix worked

Inventory every runtime and build that ships libz/zlib and confirm the version is not 1.3.1.2–1.3.2 (package manager, linked-library inspection, SBOM, and container image scans). Code-search for non-blocking gzwrite used with gzprintf/gzvprintf and retest those paths after upgrade. Confirm crash and sanitizer tests around stalled non-blocking gzip writes no longer overflow, and that statically linked artifacts were actually rebuilt against the patched library.

Typical attack path

  1. Find a process or product that links zlib 1.3.1.2–1.3.2 and uses non-blocking gzwrite together with gzprintf or gzvprintf.
  2. Cause or wait for a non-blocking gzip write stall so external buffer pointers become stale.
  3. Induce a subsequent formatted gzip write (gzprintf/gzvprintf) that enters gz_vacate().
  4. Trigger the unchecked memmove past the internal input buffer, crashing the process or corrupting heap state.
  5. If memory corruption is controllable in that specific application, attempt to turn the crash into further process compromise; otherwise the practical result is service disruption.

How to detect it

There are no reliable network signatures or named-actor playbooks for this bug. Hunt for already-exploited or crashed instances via process crash dumps, core files, and language runtime abort logs whose stacks include gz_vacate, gzprintf, gzvprintf, or memmove inside libz/zlib during gzip writes. Compare those hosts’ linked zlib version against 1.3.1.2–1.3.2. Memory-allocator abort messages (heap corruption, munmap_chunk, double-free) in compression workers shortly after write stalls are more useful than packet captures. Absence of public exploits and KEV/ransomware use means mass-exploitation telemetry is unlikely; focus on crash correlation and version inventory rather than IOC matching.

What your security team should do

  • Prioritize discovery of zlib 1.3.1.2–1.3.2 in first-party builds, containers, and vendor appliances; do not assume OS packages are the only copy.
  • Patch or rebuild as soon as a fixed zlib or vendor package exists; until then, disable or avoid the non-blocking gzwrite plus gzprintf/gzvprintf combination.
  • Raise urgency for network-exposed or untrusted-input compression services; keep standard SLAs elsewhere given no KEV listing, no ransomware use, and no public exploit.
  • Watch EPSS and vendor advisories—the 30-day EPSS increase warrants rechecking exposure even though absolute likelihood remains low.
  • Add library-version and crash-signature monitoring for libz gzip write paths so residual unpatched binaries are caught.

The record

zlib versions 1.3.1.2 through 1.3.2 contain a heap buffer overflow vulnerability in the gz_vacate() function when processing non-blocking gzwrite() operations with stale external buffer pointers. Attackers can trigger the overflow by calling gzprintf() or gzvprintf() after a write stall, causing an unchecked memmove() to write beyond the internal input buffer boundary.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities