CVE-2026-85091: zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
Vulnerability summary
CVE-2026-85091 is a high (CVSS 8.3) Out-of-bounds Write vulnerability in zlib. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 44% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 03-09-2026PublishedVulnerability first disclosed.
- 13-11-2026Last modifiedVulnerability information updated.
Description
zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns without resetting strm.next_in, leaving it pointed at the caller's buffer. A later gz* write call then derives a position from the stale pointer and writes past a heap allocation; any write() failure reaches it, including EPIPE on a blocking descriptor, and in versions before 1.3.1.2 the failed write must be followed by a gzclearerr() call.
CVSS metrics
10 scores · 7 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.3HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- NVDNIST7.4HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
Increase +0.03 pp
From 0.47% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundE0B9481792Afb7C31E86Fee1Ff084490
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard5 products
- minizip< 1.3.2.1_rc20260601-r0
- zlib< 1.3.2.1_rc20260601-r0
- zlib-dev< 1.3.2.1_rc20260601-r0
- zlib-doc< 1.3.3-r0 | < 1.3.2.1_rc20260601-r0
- zlib-static< 1.3.3-r0 | < 1.3.2.1_rc20260601-r0
Wolfi5 products
- minizip< 1.3.2.1_rc20260601-r0
- zlib< 1.3.2.1_rc20260601-r0
- zlib-dev< 1.3.2.1_rc20260601-r0
- zlib-doc< 1.3.3-r0 | < 1.3.2.1_rc20260601-r0
- zlib-static< 1.3.3-r0 | < 1.3.2.1_rc20260601-r0
Ubuntu4 products
- klibcAll versions (No fix recorded)
- rsyncAll versions (No fix recorded)
- zlibAll versions (No fix recorded) | < 1:1.3.dfsg-3.1ubuntu2.3 | < 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | < 1:1.3.dfsg+really1.3.1-1ubuntu3.2
- zsyncAll versions (No fix recorded)
Alpine1 product
- zlib< 1.3.2-r1
Crates.Io1 product
- libz-sys≥ 1.1.25, < 1.1.33
Debian1 product
- zlibAll versions (No fix recorded) | < 1:1.2.13.dfsg-1+deb12u1 | < 1:1.3.dfsg+really1.3.1-1+deb13u1 | < 1:1.3.dfsg+really1.3.2-4
Opensuse1 product
- gitoxide&distro=openSUSE Tumbleweed< 0.62.0-1.1
Zlib1 product
- zlib≥ 1.2.11, ≤ 1.3.2
8 vendors · 19 products
References
18 links- gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490Technical DescriptionExploitREPORTEVIDENCE
- www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacateThird Party AdvisoryREPORTAdvisory
Show all 18 references
- crates.io/crates/libz-sysPACKAGE